]> granicus.if.org Git - sudo/commitdiff
The -a option should be #ifdef HAVE_BSD_AUTH_H, not -A.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 15 Jan 2013 19:50:08 +0000 (14:50 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 15 Jan 2013 19:50:08 +0000 (14:50 -0500)
--HG--
branch : 1.7

parse_args.c

index 33412f978b7954c9e9651ad835bb889d8859da2e..394890a81ca16b79405d6d8cbd1806f350fc35eb 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1993-1996, 1998-2010 Todd C. Miller <Todd.Miller@courtesan.com>
+ * Copyright (c) 1993-1996, 1998-2012 Todd C. Miller <Todd.Miller@courtesan.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -391,12 +391,12 @@ help()
     usage(0);
 
     lbuf_append(&lbuf, "\nOptions:\n");
-#ifdef HAVE_BSD_AUTH_H
     lbuf_append(&lbuf,
        "  -A            use helper program for password prompting\n");
-#endif
+#ifdef HAVE_BSD_AUTH_H
     lbuf_append(&lbuf,
        "  -a type       use specified BSD authentication type\n");
+#endif
     lbuf_append(&lbuf,
        "  -b            run command in the background\n");
     lbuf_append(&lbuf,