Commit 1281092a authored by René J.V. Bertin's avatar René J.V. Bertin
Browse files

Improved --help text on opening files

Documents the possibility to open files at a specific location, as
well as the fact that directories listed will be loaded as projects.

Differential revision: https://phabricator.kde.org/D6477
parent eb41072d
......@@ -467,7 +467,8 @@ int main( int argc, char *argv[] )
// which only shows the running sessions, and the user can pick one.
parser.addOption(QCommandLineOption{QStringList{"pid"}});
parser.addPositionalArgument(QStringLiteral("files"), i18n( "Files to load" ), QStringLiteral("[FILE...]"));
parser.addPositionalArgument(QStringLiteral("files"),
i18n( "Files to load, or directories to load as projects" ), QStringLiteral("[FILE[:line[:column]] | DIRECTORY]..."));
// The session-controller needs to arguments to eventually pass them to newly opened sessions
KDevelop::SessionController::setArguments(argc, argv);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment