Show help upon error
This commit is contained in:
parent
eabdfc892b
commit
7249f0b41e
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ int main(int argc, char** argv)
|
||||||
}
|
}
|
||||||
if(device.isEmpty()) {
|
if(device.isEmpty()) {
|
||||||
QTextStream(stderr) << i18n("No device specified") << endl;
|
QTextStream(stderr) << i18n("No device specified") << endl;
|
||||||
return 1;
|
parser.showHelp(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(parser.isSet(QStringLiteral("share"))) {
|
if(parser.isSet(QStringLiteral("share"))) {
|
||||||
|
|
Loading…
Reference in a new issue