The option 'a' (for --align) was missing in the getopt call and as such was
  rejected. Sort short options according to the long option struct while at
  it, to improve readability.

Signed-off-by: aldot <[email protected]>
---
 src/osdsh/osdsh.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/osdsh/osdsh.c b/src/osdsh/osdsh.c
index d4989b6..0432177 100644
--- a/src/osdsh/osdsh.c
+++ b/src/osdsh/osdsh.c
@@ -63,7 +63,7 @@ void parse_args(int argc, char *argv[], settings_t * settings)
        {"align", 1, 0, 'a'},
        {"nice", 1, 0, 'n'}
     };
-    while ((c = getopt_long(argc, argv, "hm:f:c:p:d:o:n:", opts, &opt_index)) 
>= 0) {
+    while ((c = getopt_long(argc, argv, "hp:o:m:f:c:d:a:n:", opts, 
&opt_index)) >= 0) {
        switch (c) {
        case 'h':
            usage(0, NULL, NULL);
-- 
1.5.6.5




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to