pki: Don't print an error if no arguments are given
This commit is contained in:
1 parent
0dc8ba8779
commit
ed56c86ec1
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user