Changeset 458 in openpam


Ignore:
Timestamp:
Nov 2, 2011, 1:10:25 PM (6 years ago)
Author:
Dag-Erling Smørgrav
Message:

Add a man page, tweak the usage string, remove useless -h option.

Location:
trunk/bin/su
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/su/Makefile.am

    r386 r458  
    66su_SOURCES = su.c
    77su_LDADD = $(top_builddir)/lib/libpam.la
     8
     9dist_man1_MANS = su.1
  • trunk/bin/su/su.c

    r437 r458  
    6464{
    6565
    66         fprintf(stderr, "Usage: su [login [args]]\n");
     66        fprintf(stderr, "usage: su [login [args]]\n");
    6767        exit(1);
    6868}
     
    7979        pid_t pid;
    8080
    81         while ((o = getopt(argc, argv, "h")) != -1)
     81        while ((o = getopt(argc, argv, "")) != -1)
    8282                switch (o) {
    83                 case 'h':
    8483                default:
    8584                        usage();
Note: See TracChangeset for help on using the changeset viewer.