pki tool supports single letter short options
[strongswan.git] / src / pki / commands / self.c
index 54ef239..97eb783 100644 (file)
@@ -48,7 +48,7 @@ static int self(int argc, char *argv[])
 
        while (TRUE)
        {
-               switch (getopt_long(argc, argv, "", command_opts, NULL))
+               switch (getopt_long(argc, argv, command_optstring, command_opts, NULL))
                {
                        case 'h':
                                goto usage;