[BACK]Return to su.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / su

Diff for /src/usr.bin/su/su.c between version 1.36 and 1.37

version 1.36, 2001/05/29 21:40:36 version 1.37, 2001/05/31 17:34:17
Line 66 
Line 66 
 #endif  #endif
 #include <bsd_auth.h>  #include <bsd_auth.h>
   
 #define ARGSTR  "-a:c:fKlm"  
   
 char   *ontty __P((void));  char   *ontty __P((void));
 int     chshell __P((char *));  int     chshell __P((char *));
 void    usage __P((void));  void    usage __P((void));
Line 94 
Line 92 
         iscsh = UNSET;          iscsh = UNSET;
         class = shell = style = NULL;          class = shell = style = NULL;
         asme = asthem = fastlogin = 0;          asme = asthem = fastlogin = 0;
         while ((ch = getopt(argc, argv, ARGSTR)) != -1)          while ((ch = getopt(argc, argv, "-a:c:fKlm")) != -1)
                 switch(ch) {                  switch(ch) {
                 case 'a':                  case 'a':
                         if (style)                          if (style)
Line 343 
Line 341 
 {  {
         extern char *__progname;          extern char *__progname;
   
         (void)fprintf(stderr, "usage: %s [%s] [-a auth-type] %s ",          fprintf(stderr, "usage: %s [-fKlm] [-a auth-type] %s ", __progname,
             "[-c login-class] [login [argument ...]]\n", __progname, ARGSTR);              ARGSTR, "[-c login-class] [login [shell arguments]]\n");
         exit(1);          exit(1);
 }  }
   

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37