4.3.2.1. Getting Help

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 COLOR]
               <subcommand> ...

     OpenEmbedded development tool

     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 COLOR        Colorize output (where COLOR is auto, always, never)

     subcommands:
       <subcommand>
         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 workspace status
         build              Build a recipe
         reset              Remove a recipe from your workspace

     Use devtool <subcommand> --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] [--same-dir] [--fetch URI] [--version VERSION]
                        recipename srctree

     Adds a new recipe

     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
       --same-dir, -s        Build in same directory as source
       --fetch URI, -f URI   Fetch the specified URI and extract it to create the
                             source tree
       --version VERSION, -V VERSION
                             Version to use within recipe (PV)