dockcross: Improve command help

This commit is contained in:
Matt McCormick 2016-07-04 22:27:04 -04:00
parent 5aa3cd3867
commit 8cd9083ae6

View File

@ -67,17 +67,26 @@ command:help() {
fi fi
else else
cat >&2 <<ENDHELP cat >&2 <<ENDHELP
usage: dockcross command [args] Usage: dockcross [options] [--] command [args]
By default, runs the given command in an dockcross container. By default, run the given *command* in an dockcross Docker container.
The *options* can be one of:
--args|-a Extra args to the *docker run* command
--image|-i Docker cross-compiler image to use
--config|-c Bash script to source before running this script
Additionally, there are special update commands:
Builtin commands:
update-image update-image
update-script update-script
update update
For command help use: $0 help <command> For update command help use: $0 help <command>
ENDHELP ENDHELP
exit 1
fi fi
} }