[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdevelop] app: Improved --help text on opening files
From:       René J.V. Bertin <null () kde ! org>
Date:       2017-10-20 12:57:04
Message-ID: E1e5WrI-0000YW-Ul () code ! kde ! org
[Download RAW message or body]

Git commit 1281092a898d5b18754af7c5031f42f3260bbaa1 by Ren=C3=A9 J.V. Berti=
n.
Committed on 20/10/2017 at 12:56.
Pushed by rjvbb into branch 'master'.

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

M  +2    -1    app/main.cpp

https://commits.kde.org/kdevelop/1281092a898d5b18754af7c5031f42f3260bbaa1

diff --git a/app/main.cpp b/app/main.cpp
index d5821f6688..9a6bcab57d 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -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 proje=
cts" ), QStringLiteral("[FILE[:line[:column]] | DIRECTORY]..."));
 =

     // The session-controller needs to arguments to eventually pass them t=
o newly opened sessions
     KDevelop::SessionController::setArguments(argc, argv);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic