diff options
author | Luke Smith <luke@lukesmith.xyz> | 2023-02-18 17:11:54 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2023-02-18 17:11:54 -0500 |
commit | d3300a478d7a87800d9c2ccb78768b409ae660cf (patch) | |
tree | 6a75d885858d71c8fee77ae5c0e611864a742ce6 /bin/mw | |
parent | fe23f7c6722ded6d6ee7823c63c4ebfc82e16d70 (diff) |
simplification of decoding, show help on noopt
Diffstat (limited to 'bin/mw')
-rwxr-xr-x | bin/mw | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -313,6 +313,8 @@ while getopts "rfpXlhodTYD:y:i:I:s:S:u:a:n:P:x:m:t:" o; do case "${o}" in \?) echo "See \`$(basename $0) -h\` for possible options and help."; exit 1 ;; esac done +[ -z "$action" ] && action="info" + case "$action" in list) list ;; add) checkbasics && askinfo && getboxes && getprofiles && finalize ;; |