[PATCH 2/2] Sort getopt_long optstring

Antonio Borneo borneo.antonio at gmail.com
Sun Mar 24 09:00:55 EDT 2013


Alphabetic order, uppercase first.

Signed-off-by: Antonio Borneo <borneo.antonio at gmail.com>
---
 main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/main.c b/main.c
index b114b3d..7075486 100644
--- a/main.c
+++ b/main.c
@@ -353,7 +353,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;
-- 
1.7.3.4




More information about the openconnect-devel mailing list