Adapt error message for multi-account only commands
This commit is contained in:
parent
c9928043b2
commit
a53bb1c4c6
@ -196,7 +196,7 @@ public class App {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!(command instanceof LocalCommand)) {
|
if (!(command instanceof LocalCommand)) {
|
||||||
throw new UserErrorException("Command only works via dbus");
|
throw new UserErrorException("Command only works in multi-account mode");
|
||||||
}
|
}
|
||||||
|
|
||||||
handleLocalCommand((LocalCommand) command,
|
handleLocalCommand((LocalCommand) command,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user