forked from mirrored-repos/manjaro-tools
[manjaro-chroot] format help; small help fix
This commit is contained in:
parent
f03b057dd2
commit
29f27d76db
1 changed files with 5 additions and 4 deletions
|
@ -46,10 +46,11 @@ usage() {
|
|||
echo ' -q Query settings and pretend'
|
||||
echo ' -h Print this help message'
|
||||
echo ''
|
||||
echo "If 'command' is unspecified, ${0##*/} will launch /bin/sh."
|
||||
echo " If 'command' is unspecified, ${0##*/} will launch /bin/sh."
|
||||
echo ''
|
||||
echo " If 'automount' is true, ${0##*/} will launch /bin/bash"
|
||||
echo " and ${chroots_dir}/manjaro-chroot."
|
||||
echo ''
|
||||
echo "If 'automount' is true, ${0##*/} will launch /bin/bash"
|
||||
echo "and ${chroots_dir}/manjaro-chroot."
|
||||
echo ''
|
||||
exit $1
|
||||
}
|
||||
|
@ -62,8 +63,8 @@ while getopts ${opts} arg; do
|
|||
case "${arg}" in
|
||||
a) automount=true ;;
|
||||
q) pretend=true ;;
|
||||
*) echo "invalid argument ${arg}"; usage 1;;
|
||||
h|?) usage 0 ;;
|
||||
*) echo "invalid argument ${arg}"; usage 1 ;;
|
||||
esac
|
||||
done
|
||||
shift $(( OPTIND - 1 ))
|
||||
|
|
Loading…
Reference in a new issue