OSDN Git Service

[update] : Added error message
authorhayao <shun819.mail@gmail.com>
Sun, 20 Dec 2020 05:07:04 +0000 (14:07 +0900)
committerhayao <shun819.mail@gmail.com>
Sun, 20 Dec 2020 05:07:04 +0000 (14:07 +0900)
wfa

diff --git a/wfa b/wfa
index ece14ac..c5741e9 100755 (executable)
--- a/wfa
+++ b/wfa
@@ -521,6 +521,9 @@ add_args() {
             sudo_args=${_args_array[@]}
             msg_debug "sudo ARGS: ${sudo_args}"
             ;;
+        *)
+            msg_error "Failed to set the argument of ${_target}\nSetting that command is not currently supported." 1
+            ;;
     esac
 }