diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-01-07 07:49:00 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-01-07 07:49:00 +0000 |
commit | 50cd1e6ad5e0611a547e38fb706225e73becc9be (patch) | |
tree | a7768d52755e068eaa3f222a291629de369fac9e | |
parent | ba073b126fb869a70332a2c327b1a962d108bf1a (diff) | |
download | fetchmail-50cd1e6ad5e0611a547e38fb706225e73becc9be.tar.gz fetchmail-50cd1e6ad5e0611a547e38fb706225e73becc9be.tar.bz2 fetchmail-50cd1e6ad5e0611a547e38fb706225e73becc9be.zip |
Arrange for OK exit after helpflag.
svn path=/trunk/; revision=2337
-rw-r--r-- | options.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -603,7 +603,11 @@ struct query *ctl; /* option record to be initialized */ P(_(" --lmtp use LMTP (RFC2033) for delivery\n")); P(_(" -r, --folder specify remote folder name\n")); #undef P - return(-1); + + if (helpflag) + exit(PS_SUCCESS); + else + exit(PS_SYNTAX); } return(optind); |