summaryrefslogtreecommitdiff
path: root/morphlib/plugins/deploy_plugin.py
diff options
context:
space:
mode:
authorRic Holland <richard.holland@codethink.co.uk>2013-04-03 14:44:46 +0000
committerRic Holland <richard.holland@codethink.co.uk>2013-04-03 14:44:46 +0000
commit139f7d179cd92de73f6bff10faf73ad40a827f01 (patch)
treedabf116fe512bfe728d2130b6a8cd28aab658ca6 /morphlib/plugins/deploy_plugin.py
parentf382fbd58bdbe4b20dbe62272e2444933869d4b7 (diff)
downloadmorph-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/deploy_plugin.py')
-rw-r--r--morphlib/plugins/deploy_plugin.py8
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(