diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-02-07 11:02:18 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-02-07 11:02:18 +0000 |
commit | e50d00fe20126c05c96d77bfadcf99ef3f58acf5 (patch) | |
tree | 58b6070867c8d64fb4d95c1c24aec39cf2dae80e /morphlib | |
parent | 2df1538cc3fdbfbd9a0a5a9d6d3640856ea6730c (diff) | |
download | morph-e50d00fe20126c05c96d77bfadcf99ef3f58acf5.tar.gz |
Fix docstring and error message
Suggested-By: Sam Thursfield
Diffstat (limited to 'morphlib')
-rw-r--r-- | morphlib/plugins/deploy_plugin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/morphlib/plugins/deploy_plugin.py b/morphlib/plugins/deploy_plugin.py index 63fe647b..e921b0af 100644 --- a/morphlib/plugins/deploy_plugin.py +++ b/morphlib/plugins/deploy_plugin.py @@ -47,11 +47,11 @@ class DeployPlugin(cliapp.Plugin): pass def deploy(self, args): - '''Build a system from the current system branch''' + '''Deploy a built system image.''' if len(args) < 3: - raise cliapp.AppException('morph build expects exactly one ' - 'parameter: the system to build') + raise cliapp.AppException( + 'Too few arguments to deploy command (see help)') deployment_type = args[0] system_name = args[1] |