Commit 3174910a authored by Thomas Perl's avatar Thomas Perl Committed by Aard

Also handle --help/-h

parent ccaa3eb3
......@@ -28,7 +28,10 @@ void SsuKs::run(){
QTextStream qerr(stderr);
QHash<QString, QString> repoParameters;
if (arguments.count() == 1 && arguments.at(0) == "help"){
if (arguments.count() == 1 &&
(arguments.at(0) == "help" ||
arguments.at(0) == "--help" ||
arguments.at(0) == "-h")) {
usage();
return;
}
......
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