Use "analysis" for -A option (#2203)

This commit is contained in:
Itay Cohen 2020-05-17 22:34:38 +03:00 committed by GitHub
parent 2078790278
commit a68ce67b2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ Options
Displays version information. Displays version information.
.. option:: -A, --anal <level> .. option:: -A, --analysis <level>
When opening a file automatically perform analysis at given level. Requires When opening a file automatically perform analysis at given level. Requires
:option:`<filename>` to be specified. Following levels are available: :option:`<filename>` to be specified. Following levels are available:

View File

@ -303,7 +303,7 @@ bool CutterApplication::parseCommandLineOptions()
cmd_parser.addVersionOption(); cmd_parser.addVersionOption();
cmd_parser.addPositionalArgument("filename", QObject::tr("Filename to open.")); cmd_parser.addPositionalArgument("filename", QObject::tr("Filename to open."));
QCommandLineOption analOption({"A", "anal"}, QCommandLineOption analOption({"A", "analysis"},
QObject::tr("Automatically open file and optionally start analysis. " QObject::tr("Automatically open file and optionally start analysis. "
"Needs filename to be specified. May be a value between 0 and 2:" "Needs filename to be specified. May be a value between 0 and 2:"
" 0 = no analysis, 1 = aaa, 2 = aaaa (experimental)"), " 0 = no analysis, 1 = aaa, 2 = aaaa (experimental)"),