18namespace seqan3::detail
34class format_man :
public format_help_base<format_man>
37 using base_type = format_help_base<format_man>;
46 format_man() =
default;
47 format_man(format_man
const & pf) =
default;
48 format_man & operator=(format_man
const & pf) =
default;
49 format_man(format_man &&) =
default;
50 format_man & operator=(format_man &&) =
default;
51 ~format_man() =
default;
70 return std::toupper(c);
78 return std::tolower(c);
80 std::cout <<
" " << meta.version <<
"\" \"" << meta.man_page_title <<
"\"\n";
83 std::cout <<
".SH NAME\n" << meta.app_name <<
" \\- " << meta.short_description <<
std::endl;
98 return std::toupper(c);
101 is_first_in_section =
true;
110 is_first_in_section =
true;
119 void print_line(
std::string const & text,
bool const line_is_paragraph)
121 if (!is_first_in_section && line_is_paragraph)
123 else if (!is_first_in_section && !line_is_paragraph)
127 is_first_in_section =
false;
141 std::cout <<
".TP\n" << term <<
"\n" << desc <<
"\n";
142 is_first_in_section =
false;
157 return "\\fB" + str +
"\\fR";
161 bool is_first_in_section{
true};
@ advanced
Definition auxiliary.hpp:254
Checks if program is run interactively and retrieves dimensions of terminal (Transferred from seqan2)...
Provides SeqAn version macros and global variables.