Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

switch verbosity. be quiet by default

  • Loading branch information...
commit 8d2b835397b473399f014be544f23e2c3765c374 1 parent fedd108
@falconindy authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 lsinitramfs
View
8 lsinitramfs
@@ -35,20 +35,20 @@ usage: ${0##*/} [options] <initramfs>
Options:
-h display this help
- -q quieter output
+ -v more verbose output
-x extract image to disk
USAGE
exit 1
}
-declare verbose='--verbose'
+declare verbose=
declare list='--list'
-while getopts ':hqx' flag; do
+while getopts ':hvx' flag; do
case $flag in
h) usage ;;
- q) unset verbose ;;
+ v) verbose='--verbose' ;;
x) unset list ;;
\?) die "invalid option -- '$OPTARG'" ;;
esac
Please sign in to comment.
Something went wrong with that request. Please try again.