Skip to content

Commit

Permalink
Update help
Browse files Browse the repository at this point in the history
  • Loading branch information
sapegin committed Oct 17, 2017
1 parent 87fc724 commit a5163de
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions bin/shipit
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,21 @@ function error() { echo -e "$UNDERLINE$RED$1$NOCOLOR\n"; }
usage() {
version
echo
echo "Usage: `basename $0` [command|option]"
echo "Usage: `basename $0` [option] <command>"
echo
echo "Options:"
echo "Commands:"
echo
echo " -V, --version Print program version"
echo " -v, --verbose Enable verbose mode for SSH"
echo " -h, --help Print help (this screen)"
echo " <target> Execute <target> target on remote host"
echo " list ls Print list of available targets"
echo " console shell, ssh Open an SSH session on the remote host"
echo " exec <cmd> run Execute <cmd> on the remote host"
echo " copy <file> cp Copy <files> to the remote host"
echo " --version -V Print program version"
echo " --help -h Print help (this screen)"
echo
echo "Commands:"
echo "Options:"
echo
echo " <target> Executes <target> target on remote host (run shipit to execute 'deploy' target)"
echo " list Print list of available targets"
echo " console Open an SSH session on remote host"
echo " exec <cmd> Execute <cmd> on remote host"
echo " -v, --verbose Enable verbose mode for SSH"
echo
}

Expand Down

0 comments on commit a5163de

Please sign in to comment.