CLI Text Improvements
This commit is contained in:
parent
7935cc15c8
commit
2abeb42a70
1 changed files with 2 additions and 2 deletions
|
@ -182,8 +182,8 @@ 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: Use -d <Device ID> or -n <Device Name> to specify a device. \nDevice ID's and names may be found using \"kdeconnect-cli -l\" \nView complete help with --help option") << endl;
|
||||||
parser.showHelp(1);
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!blockOnReply<QStringList>(iface.devices(false, false)).contains(device)) {
|
if (!blockOnReply<QStringList>(iface.devices(false, false)).contains(device)) {
|
||||||
|
|
Loading…
Reference in a new issue