pki: Don't print an error if no arguments are given
This commit is contained in:
parent
0dc8ba8779
commit
ed56c86ec1
|
@ -258,6 +258,6 @@ int command_dispatch(int c, char *v[])
|
|||
return cmds[i].call();
|
||||
}
|
||||
}
|
||||
return command_usage("invalid operation");
|
||||
return command_usage(c > 1 ? "invalid operation" : NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue