summaryrefslogtreecommitdiff
path: root/morphlib/exts
diff options
context:
space:
mode:
authorSam Thursfield <sam@afuera.me.uk>2014-08-29 23:18:45 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-09-01 10:35:16 +0100
commit864dff6aa72615a85e3c7180cfd65cacb66867da (patch)
tree8ba3dea5b0ba8143afda9b549a1f0e232cbbddf7 /morphlib/exts
parent5c90ccfd74d28d817fab50079f0233cd8a555d3a (diff)
downloadmorph-864dff6aa72615a85e3c7180cfd65cacb66867da.tar.gz
Add `morph upgrade` command, deprecate `morph deploy --upgrade`
The arguments to `morph deploy` can get quite long, any way we can make it shorter and clearer is useful. We can also avoid having the strange --no-upgrade flag in future.
Diffstat (limited to 'morphlib/exts')
-rwxr-xr-xmorphlib/exts/rawdisk.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/exts/rawdisk.check b/morphlib/exts/rawdisk.check
index 5e75abe2..acdc4de1 100755
--- a/morphlib/exts/rawdisk.check
+++ b/morphlib/exts/rawdisk.check
@@ -46,7 +46,7 @@ class RawdiskCheckExtension(morphlib.writeexts.WriteExtension):
else:
if os.path.exists(location):
raise cliapp.AppException(
- 'Target %s already exists. Pass --upgrade if you want to '
- 'update an existing image.' % location)
+ 'Target %s already exists. Use `morph upgrade` if you '
+ 'want to update an existing image.' % location)
RawdiskCheckExtension().run()