the_doc="$the_doc (EXPERTS only)"
fi
+ if [ "$type" = bool -a -n "$long_option" -a "$long_option_alternate" = "no-$long_option" ]; then
+ the_doc="$the_doc [*]"
+ fi
+
doc_line=
while [ -n "$the_doc" ]; do
remaining_doc="$(expr "$the_doc " : '.\{1,53\} \(.*\)')"
#line 228 "${template}"
+static const std::string optionsFootnote = "\n\
+[*] Each of these options has a --no-OPTIONNAME variant, which reverses the\n\
+ sense of the option.\n\
+";
+
static const std::string languageDescription = "\
Languages currently supported as arguments to the -L / --lang option:\n\
auto attempt to automatically determine the input language\n\
}
void Options::printUsage(const std::string msg, std::ostream& out) {
- out << msg << optionsDescription << std::endl << std::flush;
+ out << msg << optionsDescription << std::endl
+ << optionsFootnote << std::endl << std::flush;
}
void Options::printShortUsage(const std::string msg, std::ostream& out) {
- out << msg << mostCommonOptionsDescription << std::endl << std::endl
+ out << msg << mostCommonOptionsDescription << std::endl
+ << optionsFootnote << std::endl
<< "For full usage, please use --help." << std::endl << std::flush;
}