From e50d00fe20126c05c96d77bfadcf99ef3f58acf5 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 7 Feb 2013 11:02:18 +0000 Subject: Fix docstring and error message Suggested-By: Sam Thursfield --- morphlib/plugins/deploy_plugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'morphlib/plugins') 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] -- cgit v1.2.1