From: Matthias Kruk Date: Sun, 6 Jun 2021 02:08:00 +0000 (+0900) Subject: include/inst: Use new opt flags X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=5f5746226c674bb6a9eadfbe70bfca530d73bbfc;p=toolbox include/inst: Use new opt flags Calls to opt_add_arg() in the inst module still use the old way to specify option flags, which is incompatible with the current opt module. This commit changes the calls to pass the option flags in the new way. --- diff --git a/include/inst.sh b/include/inst.sh index 1bd5842..c27b40f 100644 --- a/include/inst.sh +++ b/include/inst.sh @@ -21,8 +21,8 @@ __init() { return 1 fi - opt_add_arg "l" "list" "no" 0 "List running instances" _inst_handle_opt - opt_add_arg "s" "stop" "yes" "" "Stop a running instance" _inst_handle_opt + opt_add_arg "l" "list" "" 0 "List running instances" _inst_handle_opt + opt_add_arg "s" "stop" "v" "" "Stop a running instance" _inst_handle_opt return 0 }