]> git.gag.com Git - debian/gzip/blobdiff - zmore.in
maint: script diagnostics status cleanup
[debian/gzip] / zmore.in
index 1c9cebb3dea1e4bcd9f05888a53f538d8bfdb5a1..1bd3bdb737459d506c5e4f760551ca156d0b27e8 100644 (file)
--- a/zmore.in
+++ b/zmore.in
@@ -31,8 +31,8 @@ Like 'more', but operate on the uncompressed contents of any compressed FILEs.
 Report bugs to <bug-gzip@gnu.org>."
 
 case $1 in
-  --h*) exec printf '%s\n' "$usage";;
-  --v*) exec printf '%s\n' "$version";;
+  --h*) printf '%s\n' "$usage"  ; exit;;
+  --v*) printf '%s\n' "$version"; exit;;
   --) shift;;
   -?*) printf >&2 '%s\n' "$0: $1: unknown option; try '$0 --help' for help"
        exit 1;;