summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-02-19 22:38:55 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-21 09:32:42 +0000
commitcada5a83c7850e6f11c8943f22d50dd6dfe957de (patch)
treecf1b9481e4feb5b844f360f7c86cfddeab5106c5 /scripts
parent6bd88e61713f790ff8f69927de2df8529f73e04f (diff)
downloadpoky-cada5a83c7850e6f11c8943f22d50dd6dfe957de.tar.gz
devtool: (un)deploy-target: add help descriptions
Add a long description used when running --help on the specific command. (From OE-Core rev: eb7787d1652fd84a149fd394969f4f1099406051) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/devtool/deploy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py
index 0236c53726..d742ed3f8e 100644
--- a/scripts/lib/devtool/deploy.py
+++ b/scripts/lib/devtool/deploy.py
@@ -133,6 +133,7 @@ def register_commands(subparsers, context):
133 """Register devtool subcommands from the deploy plugin""" 133 """Register devtool subcommands from the deploy plugin"""
134 parser_deploy = subparsers.add_parser('deploy-target', 134 parser_deploy = subparsers.add_parser('deploy-target',
135 help='Deploy recipe output files to live target machine', 135 help='Deploy recipe output files to live target machine',
136 description='Deploys a recipe\'s build output (i.e. the output of the do_install task) to a live target machine over ssh. Note: this only deploys the recipe itself and not any runtime dependencies, so it is assumed that those have been installed on the target beforehand.',
136 group='testbuild') 137 group='testbuild')
137 parser_deploy.add_argument('recipename', help='Recipe to deploy') 138 parser_deploy.add_argument('recipename', help='Recipe to deploy')
138 parser_deploy.add_argument('target', help='Live target machine running an ssh server: user@hostname[:destdir]') 139 parser_deploy.add_argument('target', help='Live target machine running an ssh server: user@hostname[:destdir]')
@@ -143,6 +144,7 @@ def register_commands(subparsers, context):
143 144
144 parser_undeploy = subparsers.add_parser('undeploy-target', 145 parser_undeploy = subparsers.add_parser('undeploy-target',
145 help='Undeploy recipe output files in live target machine', 146 help='Undeploy recipe output files in live target machine',
147 description='Un-deploys recipe output files previously deployed to a live target machine by devtool deploy-target.',
146 group='testbuild') 148 group='testbuild')
147 parser_undeploy.add_argument('recipename', help='Recipe to undeploy') 149 parser_undeploy.add_argument('recipename', help='Recipe to undeploy')
148 parser_undeploy.add_argument('target', help='Live target machine running an ssh server: user@hostname') 150 parser_undeploy.add_argument('target', help='Live target machine running an ssh server: user@hostname')