mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
dockcross: Improve command help
This commit is contained in:
parent
5aa3cd3867
commit
8cd9083ae6
@ -67,17 +67,26 @@ command:help() {
|
||||
fi
|
||||
else
|
||||
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-script
|
||||
update
|
||||
|
||||
For command help use: $0 help <command>
|
||||
For update command help use: $0 help <command>
|
||||
ENDHELP
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user