pki: Add support to encode public keys in SSH key format
[strongswan.git] / src / pki / command.c
index a5e5b85..984da59 100644 (file)
@@ -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);
 }