21namespace seqan3::detail
37class format_man :
public format_help_base<format_man>
40 using base_type = format_help_base<format_man>;
49 format_man() =
default;
50 format_man(format_man
const & pf) =
default;
51 format_man & operator=(format_man
const & pf) =
default;
52 format_man(format_man &&) =
default;
53 format_man & operator=(format_man &&) =
default;
54 ~format_man() =
default;
69 std::transform(meta.app_name.begin(), meta.app_name.end(), out, [] (
unsigned char c) { return std::toupper(c); });
71 std::transform(meta.app_name.begin(), meta.app_name.end(), out, [] (
unsigned char c) { return std::tolower(c); });
72 std::cout <<
" " << meta.version <<
"\" \"" << meta.man_page_title <<
"\"\n";
76 << meta.app_name <<
" \\- " << meta.short_description <<
std::endl;
88 is_first_in_section =
true;
97 is_first_in_section =
true;
106 void print_line(
std::string const & text,
bool const line_is_paragraph)
108 if (!is_first_in_section && line_is_paragraph)
110 else if (!is_first_in_section && !line_is_paragraph)
114 is_first_in_section =
false;
131 is_first_in_section =
false;
146 return "\\fB" + str +
"\\fR";
150 bool is_first_in_section{
true};
@ advanced
Definition: auxiliary.hpp:256
Checks if program is run interactively and retrieves dimensions of terminal (Transferred from seqan2)...
Provides SeqAn version macros and global variables.