From: nekral-guest Date: Fri, 4 Sep 2009 23:02:33 +0000 (+0000) Subject: * NEWS, src/userdel.c, src/lastlog.c, src/gpasswd.c, X-Git-Tag: 4.1.5~391 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91b60a955c1b454e0e4c13135ef3ec31d4899099;p=shadow * NEWS, src/userdel.c, src/lastlog.c, src/gpasswd.c, src/newusers.c, src/chpasswd.c, src/groupmems.c, src/usermod.c, src/chgpasswd.c, src/vipw.c, src/su.c, src/useradd.c, src/groupmod.c, src/passwd.c, src/groupadd.c, src/chage.c, src/faillog.c, src/chsh.c: If someone uses the -h/--help options, the usage should not go to stderr nor should the utility exit with non-zero status. All of the shadow utils do just this unfortunately, so convert them over to sanity. * man/groupmems.8.xml, man/gpasswd.1.xml: Added option -h/--help. --- diff --git a/ChangeLog b/ChangeLog index 55deac41..78fa9060 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2009-09-05 Mike Frysinger + + * NEWS, src/userdel.c, src/lastlog.c, src/gpasswd.c, + src/newusers.c, src/chpasswd.c, src/groupmems.c, src/usermod.c, + src/chgpasswd.c, src/vipw.c, src/su.c, src/useradd.c, + src/groupmod.c, src/passwd.c, src/groupadd.c, src/chage.c, + src/faillog.c, src/chsh.c: If someone uses the -h/--help options, + the usage should not go to stderr nor should the utility exit with + non-zero status. All of the shadow utils do just this + unfortunately, so convert them over to sanity. + * man/groupmems.8.xml, man/gpasswd.1.xml: Added option -h/--help. + 2009-09-05 Nicolas François * src/useradd.c: Fixed wrong format string. diff --git a/NEWS b/NEWS index 4285be92..e562c449 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,11 @@ $Id$ +shadow-4.1.4.1 -> shadow-4.1.4.2 UNRELEASED + +- general + * report usage error to stderr, but report usage help to stdout (and return + zero) when explicitly requested (e.g. with --help). + shadow-4.1.4.1 -> shadow-4.1.4.2 2009-07-24 - general diff --git a/man/gpasswd.1.xml b/man/gpasswd.1.xml index 28dd8d06..99902238 100644 --- a/man/gpasswd.1.xml +++ b/man/gpasswd.1.xml @@ -1,7 +1,7 @@