Skip to content

Commit 46f6c4a

Browse files
committed
Tweak --help description in commandlineparser.
This expands the short help string used by --help to indicate its secondary usage where use of --help followed by the name of another option would provide an extended description for that specific option.
1 parent 544094c commit 46f6c4a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mythtv/libs/libmythbase/mythcommandlineparser.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2175,7 +2175,8 @@ void MythCommandLineParser::allowPassthrough(bool allow)
21752175
void MythCommandLineParser::addHelp(void)
21762176
{
21772177
add(QStringList( QStringList() << "-h" << "--help" << "--usage" ),
2178-
"showhelp", "", "Display this help printout.",
2178+
"showhelp", "", "Display this help printout, or give detailed "
2179+
"information of selected option.",
21792180
"Displays a list of all commands available for use with "
21802181
"this application. If another option is provided as an "
21812182
"argument, it will provide detailed information on that "

0 commit comments

Comments
 (0)