diff --git a/tojam b/tojam index 5acd9a4..d560ca0 100755 --- a/tojam +++ b/tojam @@ -21,8 +21,9 @@ help() { # Array of command line arguments declare -A command=( + [a]="Add a server." [c]="Configure ${0##*/}." - [D]="Delete a server." + [d]="Delete a server." [h]="This help screen." [T]="Dedication." ) @@ -271,8 +272,9 @@ args="${!command[*]}" args="${args//[[:space:]]/}" while getopts "${args}" i ; do case "$i" in - c) echo "Coming soon" ;; - D) delete_server ;; + a) add_server ;; + c) configure_ninjam ;; + d) delete_server ;; h) help ;; T) echo "For Tony, because he's awesome!"