Changing/Unifying KDevelop's CLI arguments

Aleix Pol aleixpol at kde.org
Fri Sep 24 14:47:39 UTC 2010


You can leave the old ones too in case there's someone who learned them, at
least for a version.
It's odd that programs stop to work just like that.

Aleix

On Fri, Sep 24, 2010 at 4:41 PM, Milian Wolff <mail at milianw.de> wrote:

> Hey all,
>
> any objections on me cleaning up the CLI arguments for KDevelop? Currently:
>
> ~~~~~~~~~~~~
> $ kdevelop --help
> Usage: kdevelop [Qt-options] [KDE-options] [options] files
>
> The KDevelop Integrated Development Environment
>
> Generic options:
>  --help                    Show help about options
>  --help-qt                 Show Qt specific options
>  --help-kde                Show KDE specific options
>  --help-all                Show all options
>  --author                  Show author information
>  -v, --version             Show version information
>  --license                 Show license information
>  --                        End of options
>
> Options:
>  --project <project>       Url to project to load
>
> Arguments:
>  files                     Files to load
>  --debug <debugger>        Start debugger, for example gdb. The binary that
> should be debugged must follow - including arguments.
>  --cs <name>               Create new session with given name.
>  -s <session>              Session to load. You can pass either hash or the
> name of the session.
>  --sessions                List available sessions and quit
> ~~~~~~~~~~~~
>
> I want:
>
> ~~~~~~~~~~~~
> $ kdevelop --help
> Usage: kdevelop [Qt-options] [KDE-options] [options] files
>
> The KDevelop Integrated Development Environment
>
> Generic options:
>  --help                    Show help about options
>  --help-qt                 Show Qt specific options
>  --help-kde                Show KDE specific options
>  --help-all                Show all options
>  --author                  Show author information
>  -v, --version             Show version information
>  --license                 Show license information
>  --                        End of options
>
> Options:
>  -p <project>
>  --project <project>       Url to project to load
>
> Arguments:
>  files                     Files to load
>  --debug <debugger>        Start debugger, for example gdb. The binary that
> should be debugged must follow - including arguments. Example:
>  kdevelop --debug gdb someapp --somearg
>  -n <name>
>  --new-session <name>      Start KDevelop with a new session with the given
> name.
>  -s <session>
>  --session <session>              Start KDevelop and load the given
> session.
>   You can pass either hash or the name of the session.
>  -l
>  --list-sessions                List available sessions and quit
> ~~~~~~~~~~~~
>
> So generally it's about making giving short and long cli options
> everywhere.
> It would mean thought that the imo often used --sessions and -cs get
> removed
> in favor of the imo much more concise:
>
> -n / --new-session
>
> and
>
> -l / --list-sessions
>
> Also the explanation texts where improved a bit. So - objections?
> --
> Milian Wolff
> mail at milianw.de
> http://milianw.de
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100924/57eae052/attachment.html>


More information about the KDevelop-devel mailing list