Commit 20b9537e authored by Vitaly Lipatov's avatar Vitaly Lipatov

ercat: add --quiet support

parent 14c85d0a
......@@ -75,6 +75,7 @@ progname="${0##*/}"
Usage="Usage: $progname [options] file(s)..."
Descr="ercat - universal file uncompressor"
quiet=
cmd=$1
# Just printout help if run without args
......@@ -89,6 +90,11 @@ case $cmd in
phelp
exit
;;
-q|--quiet) # HELPOPT: be silent
quiet=--quiet
shift
cmd=$1
;;
-v|--version) # HELPOPT: print version
print_version
exit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment