diff --git a/apsalar/icloudsync b/apsalar/icloudsync index 76804a5..8e46661 100755 --- a/apsalar/icloudsync +++ b/apsalar/icloudsync @@ -61,6 +61,7 @@ status () { else tmux capture-pane -t icloudsync -p -S -1 | tail -1 fi + exit } msg="available commands are: start, stop, attach, status" @@ -82,8 +83,10 @@ while [[ $# -gt 0 ]]; do status) status ;; + *) + echo $msg + ;; esac - echo $msg exit done