Skip to content

Commit

Permalink
Sort getopt_long optstring
Browse files Browse the repository at this point in the history
Alphabetic order, uppercase first.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
borneoa authored and David Woodhouse committed Mar 24, 2013
1 parent f7b028c commit a01b7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Expand Up @@ -367,7 +367,7 @@ static int next_option(int argc, char **argv, char **config_arg)
next:
if (!config_file) {
opt = getopt_long(argc, argv,
"bC:c:e:Ddg:hi:k:lm:p:P:Q:qSs:U:u:Vvx:",
"bC:c:Dde:g:hi:k:lm:P:p:Q:qSs:U:u:Vvx:",
long_options, NULL);

*config_arg = optarg;
Expand Down

0 comments on commit a01b7d1

Please sign in to comment.