pki tool supports single letter short options

This commit is contained in:
Martin Willi
2009-09-15 10:20:22 +02:00
parent 012f62a820
commit 4fdb9f6f74
8 changed files with 42 additions and 13 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ static int pub(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':
return command_usage(NULL);