The easiest way to get help with the
devtool
command is using the
‐‐help
option:
$ devtool ‐‐help usage: devtool [-h] [‐‐basepath BASEPATH] [-d] [-q] [‐‐color {auto,always,never}] {create-workspace,deploy-target,undeploy-target,add,modify,extract,update-recipe,status,build,reset} ... OpenEmbedded development tool positional arguments: {create-workspace,deploy-target,undeploy-target,add,modify,extract,update-recipe,status,build,reset} create-workspace Set up a workspace deploy-target Deploy recipe output files to live target machine undeploy-target Undeploy recipe output files in live target machine add Add a new recipe modify Modify the source for an existing recipe extract Extract the source for an existing recipe update-recipe Apply changes from external source tree to recipe status Show status build Build recipe reset Remove a recipe from your workspace optional arguments: -h, ‐‐help show this help message and exit ‐‐basepath BASEPATH Base directory of SDK / build directory -d, ‐‐debug Enable debug output -q, ‐‐quiet Print only errors ‐‐color {auto,always,never} Colorize output Use devtool <command> ‐‐help to get help on a specific command
As directed in the general help output, you can get more
syntax on a specific command by providing the command
name and using ‐‐help
:
$ devtool add ‐‐help usage: devtool add [-h] [‐‐version VERSION] recipename srctree positional arguments: recipename Name for new recipe to add srctree Path to external source tree optional arguments: -h, ‐‐help show this help message and exit ‐‐version VERSION, -V VERSION