mirror of
				https://github.com/bensuperpc/dockcross.git
				synced 2025-10-31 16:16:23 +01:00 
			
		
		
		
	dockcross: Improve command help
This commit is contained in:
		| @@ -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 | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Matt McCormick
					Matt McCormick