File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -226,6 +226,9 @@ COMMAND_RESULT="Unknown command"
226
226
if [ " ${GLOBAL_COMMANDS/ ${NAMESPACE} _} " != " $GLOBAL_COMMANDS " ] ; then
227
227
debug " _${NAMESPACE} has commands"
228
228
COMMAND=$2
229
+ if [ " $COMMAND " == " " ] ; then
230
+ _help
231
+ fi
229
232
if [ " ${GLOBAL_COMMANDS/ ${NAMESPACE} _${COMMAND} } " != " $GLOBAL_COMMANDS " ] ; then
230
233
debug " ${NAMESPACE} _${COMMAND} is a valid command"
231
234
shift 2
Original file line number Diff line number Diff line change @@ -98,6 +98,9 @@ COMMAND_RESULT="Unknown command"
98
98
if [ " ${GLOBAL_COMMANDS/ ${NAMESPACE} _} " != " $GLOBAL_COMMANDS " ] ; then
99
99
debug " _${NAMESPACE} has commands"
100
100
COMMAND=$2
101
+ if [ " $COMMAND " == " " ] ; then
102
+ _help
103
+ fi
101
104
if [ " ${GLOBAL_COMMANDS/ ${NAMESPACE} _${COMMAND} } " != " $GLOBAL_COMMANDS " ] ; then
102
105
debug " ${NAMESPACE} _${COMMAND} is a valid command"
103
106
shift 2
You can’t perform that action at this time.
0 commit comments