diff --git a/docs/source/user-docs/command-line.rst b/docs/source/user-docs/command-line.rst index aaa2de88..f7421ed8 100644 --- a/docs/source/user-docs/command-line.rst +++ b/docs/source/user-docs/command-line.rst @@ -26,7 +26,7 @@ Options Displays version information. -.. option:: -A, --anal +.. option:: -A, --analysis When opening a file automatically perform analysis at given level. Requires :option:`` to be specified. Following levels are available: diff --git a/src/CutterApplication.cpp b/src/CutterApplication.cpp index 550c2dfe..150858c2 100644 --- a/src/CutterApplication.cpp +++ b/src/CutterApplication.cpp @@ -303,7 +303,7 @@ bool CutterApplication::parseCommandLineOptions() cmd_parser.addVersionOption(); 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. " "Needs filename to be specified. May be a value between 0 and 2:" " 0 = no analysis, 1 = aaa, 2 = aaaa (experimental)"),