diff options
author | Ric Holland <richard.holland@codethink.co.uk> | 2013-04-03 14:44:46 +0000 |
---|---|---|
committer | Ric Holland <richard.holland@codethink.co.uk> | 2013-04-03 14:44:46 +0000 |
commit | 139f7d179cd92de73f6bff10faf73ad40a827f01 (patch) | |
tree | dabf116fe512bfe728d2130b6a8cd28aab658ca6 /morphlib/plugins | |
parent | f382fbd58bdbe4b20dbe62272e2444933869d4b7 (diff) | |
download | morph-139f7d179cd92de73f6bff10faf73ad40a827f01.tar.gz |
Expanded morph deploy help
When too few arguments are given to morph deploy it points you to the
help page, which contains no information about the number of arguments
needed. This patch adds some information from the morph reference manual
regarding the arguments needed for morph deploy.
Diffstat (limited to 'morphlib/plugins')
-rw-r--r-- | morphlib/plugins/deploy_plugin.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/morphlib/plugins/deploy_plugin.py b/morphlib/plugins/deploy_plugin.py index f8fe0300..4fa34951 100644 --- a/morphlib/plugins/deploy_plugin.py +++ b/morphlib/plugins/deploy_plugin.py @@ -47,7 +47,13 @@ class DeployPlugin(cliapp.Plugin): pass def deploy(self, args): - '''Deploy a built system image.''' + '''Deploy a built system image. + + Command requires a minimum of three arguments: + morph deploy TYPE SYSTEM LOCATION, + where TYPE is type of deployment, + SYSTEM is name of the system morphology to deploy and + LOCATION is the destination of the deployed system.''' if len(args) < 3: raise cliapp.AppException( |