diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2014-08-29 23:18:45 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-09-01 10:35:16 +0100 |
commit | 8c4f5dd9adce099693c53d14c1a549d5b4fa88d1 (patch) | |
tree | 755f4f2c7fe39e7865ef9b885af4c3071d0802df | |
parent | 59d03b0ae4d1643bba0f0b2b83e85b7068092819 (diff) | |
download | definitions-8c4f5dd9adce099693c53d14c1a549d5b4fa88d1.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.
-rwxr-xr-x | rawdisk.check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rawdisk.check b/rawdisk.check index 5e75abe2..acdc4de1 100755 --- a/rawdisk.check +++ b/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() |