SHA256
show usage when no command is given
This commit is contained in:
@@ -277,6 +277,8 @@ if $FULL_HELP; then
|
|||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[ -z "$action" ] && usage >&2 && exit 255
|
||||||
|
|
||||||
if [ "$action" == 'install' ]; then
|
if [ "$action" == 'install' ]; then
|
||||||
if [ -f "$cfgfile" ]; then
|
if [ -f "$cfgfile" ]; then
|
||||||
source "$cfgfile" || exit $?
|
source "$cfgfile" || exit $?
|
||||||
|
|||||||
Reference in New Issue
Block a user