From 5f5746226c674bb6a9eadfbe70bfca530d73bbfc Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Sun, 6 Jun 2021 11:08:00 +0900 Subject: [PATCH] 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. --- include/inst.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.47.3