OSDN Git Service

[NEW] make command is added.
[portsreinstall/current.git] / lib / libcommand.sh
index a12496f..8c5c692 100644 (file)
@@ -18,6 +18,7 @@ COMMAND_RESTART=
 COMMAND_SHOW_OPTIONS=
 COMMAND_SHOW_DEPTAG=
 COMMAND_SHOW_LEVEL=
+COMMAND_SHOW_KEYWORD=
 
 # ============= Check the necessity of opening notice =============
 command_all_chk_need_opening_notice ()
@@ -29,7 +30,7 @@ command_all_chk_need_opening_notice ()
 _command_parse_args__chk_glob_args ()
 {
        local nargs
-       nargs=1
+       nargs=$1
        [ $nargs -gt 0 ] && return
        message_echo "ERROR: No port glob is specified." >&2
        exit 1