]> git.saurik.com Git - bison.git/blobdiff - src/getargs.c
* src/getargs.c (short_options): Split and sort for readability.
[bison.git] / src / getargs.c
index 9661fefee8e0f35f00c2f63fed66a7c484640298..77f147d35875f7e9c8f74b9168695bdfc046c98a 100644 (file)
@@ -403,8 +403,30 @@ language_argmatch (char const *arg, int prio, location const *loc)
 | Process the options.  |
 `----------------------*/
 
-/* Shorts options.  */
-static char const short_options[] = "yvegxdhr:L:ltknVo:b:p:S:T::W";
+/* Shorts options.
+   Should be computed from long_options.  */
+static char const short_options[] =
+  "L:"
+  "S:"
+  "T::"
+  "V"
+  "W"
+  "b:"
+  "d"
+  "e"
+  "g::"
+  "h"
+  "k"
+  "l"
+  "n"
+  "o:"
+  "p:"
+  "r:"
+  "t"
+  "v"
+  "x::"
+  "y"
+  ;
 
 /* Values for long options that do not have single-letter equivalents.  */
 enum