The pwconv, pwunconv, grpconv, and grpunconv utils now have complete usage
message and report a usage error if needed.
This commit is contained in:
@@ -1 +1,7 @@
|
||||
Usage: pwunconv
|
||||
pwunconv: invalid option -- 'Z'
|
||||
Usage: pwunconv [options]
|
||||
|
||||
Options:
|
||||
-h, --help display this help message and exit
|
||||
-R, --root CHROOT_DIR directory to chroot into
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ pwunconv -Z 2>tmp/usage.out && exit 1 || {
|
||||
echo "OK"
|
||||
|
||||
echo -n "Check returned status ($status)..."
|
||||
test "$status" = "1"
|
||||
test "$status" = "2"
|
||||
echo "OK"
|
||||
|
||||
echo "pwunconv reported:"
|
||||
|
||||
@@ -1 +1,7 @@
|
||||
Usage: grpunconv
|
||||
grpunconv: invalid option -- 'Z'
|
||||
Usage: grpunconv [options]
|
||||
|
||||
Options:
|
||||
-h, --help display this help message and exit
|
||||
-R, --root CHROOT_DIR directory to chroot into
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ grpunconv -Z 2>tmp/usage.out && exit 1 || {
|
||||
echo "OK"
|
||||
|
||||
echo -n "Check returned status ($status)..."
|
||||
test "$status" = "1"
|
||||
test "$status" = "2"
|
||||
echo "OK"
|
||||
|
||||
echo "grpunconv reported:"
|
||||
|
||||
@@ -1 +1,7 @@
|
||||
Usage: pwconv
|
||||
pwconv: invalid option -- 'Z'
|
||||
Usage: pwconv [options]
|
||||
|
||||
Options:
|
||||
-h, --help display this help message and exit
|
||||
-R, --root CHROOT_DIR directory to chroot into
|
||||
|
||||
|
||||
@@ -1 +1,7 @@
|
||||
Usage: grpconv
|
||||
grpconv: invalid option -- 'Z'
|
||||
Usage: grpconv [options]
|
||||
|
||||
Options:
|
||||
-h, --help display this help message and exit
|
||||
-R, --root CHROOT_DIR directory to chroot into
|
||||
|
||||
|
||||
Reference in New Issue
Block a user