source: trunk/dports/mail/newmail/files/patch-newmail.c.diff @ 7047

Last change on this file since 7047 was 7047, checked in by mww, 15 years ago

make newmail compile again,
fix mandir,
remove need being root

  • Property svn:eol-style set to native
File size: 1.2 KB
  • newmail.c

    old new  
    148148
    149149static void usage() {
    150150
    151         fprintf(stderr,"usage: newmail [-deirv] directory|file directory|file ...
    152 
    153 where:
    154         d: Prints messages when you do not have new mail
    155         e: Exits with 0 on no new mail, 1 on new mail, > 1 on error
    156                 (normally exits with a value from sysexits(3)). May not be used
    157                 with -d or -i.
    158         i: Prints a message for each mailbox that has new mail (and those
    159                 that don't if -d is also used)
    160         r: Warns if it finds a non regular file
    161         v: Print version number and exit
    162        
    163 directory|file are, respectively, directories to look in for mailboxes
     151        fprintf(stderr,"usage: newmail [-deirv] directory|file directory|file ...\
     152\
     153where:\
     154        d: Prints messages when you do not have new mail\
     155        e: Exits with 0 on no new mail, 1 on new mail, > 1 on error\
     156                (normally exits with a value from sysexits(3)). May not be used\
     157                with -d or -i.\
     158        i: Prints a message for each mailbox that has new mail (and those\
     159                that don't if -d is also used)\
     160        r: Warns if it finds a non regular file\
     161        v: Print version number and exit\
     162        \
     163directory|file are, respectively, directories to look in for mailboxes\
    164164and mailboxes.\n");
    165165
    166166        exit(EX_USAGE);
Note: See TracBrowser for help on using the repository browser.