main: sort getopt characters
authorFelix Fietkau <nbd@openwrt.org>
Fri, 6 Nov 2015 15:50:13 +0000 (16:50 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 6 Nov 2015 15:50:13 +0000 (16:50 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
main.c

diff --git a/main.c b/main.c
index ae54b69d468fae99cbb7ca6222c50658bdb13215..6cbceb7c142c327b1382a3c084d055b5f569c85d 100644 (file)
--- a/main.c
+++ b/main.c
@@ -232,7 +232,7 @@ int main(int argc, char **argv)
        init_defaults_pre();
        signal(SIGPIPE, SIG_IGN);
 
-       while ((ch = getopt(argc, argv, "afqSDRXC:K:E:I:p:s:h:c:l:L:d:r:m:n:N:x:y:i:t:k:T:A:u:U:")) != -1) {
+       while ((ch = getopt(argc, argv, "A:aC:c:Dd:E:fh:I:i:K:k:L:l:m:N:n:p:qRr:Ss:T:t:U:u:Xx:y:")) != -1) {
                switch(ch) {
 #ifdef HAVE_TLS
                case 'C':