scripts: west commands: add text for "west --help"
Although each of these command implementations has good output for
"west <command> --help", the "west --help" output is missing the
one-line descriptions.
Add them by modifying west-commands.yml to use a new 'help' key in
each command name. These need to be kept in sync with the Python
sources. For now just do that by copy/pasting. We could add fancy
logic to load the help from west-commands.yml later if we want.
Signed-off-by: Marti Bolivar <marti@foundries.io>
diff --git a/scripts/west_commands/flash.py b/scripts/west_commands/flash.py
index dd03675..26523fe 100644
--- a/scripts/west_commands/flash.py
+++ b/scripts/west_commands/flash.py
@@ -17,6 +17,7 @@
def __init__(self):
super(Flash, self).__init__(
'flash',
+ # Keep this in sync with the string in west-commands.yml.
'flash and run a binary on a board',
dedent('''
Connects to the board and reprograms it with a new binary\n\n''') +