diff --git a/cli/kdeconnect-cli.cpp b/cli/kdeconnect-cli.cpp index 8a968c19a..2608a79e6 100644 --- a/cli/kdeconnect-cli.cpp +++ b/cli/kdeconnect-cli.cpp @@ -182,8 +182,8 @@ int main(int argc, char** argv) } } if(device.isEmpty()) { - QTextStream(stderr) << i18n("No device specified") << endl; - parser.showHelp(1); + QTextStream(stderr) << i18n("No device specified: Use -d or -n to specify a device. \nDevice ID's and names may be found using \"kdeconnect-cli -l\" \nView complete help with --help option") << endl; + return 1; } if (!blockOnReply(iface.devices(false, false)).contains(device)) {