summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2013-11-22 17:05:28 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2013-11-29 16:11:44 +0000
commite9944a7d4115a4d314e3e0655762384a68722aef (patch)
tree959c8cb044263f016562b81bbbaad2cd8786273f
parent93c77a63f13b7197ee623603a8b7abbf2893a3e8 (diff)
downloadmorph-e9944a7d4115a4d314e3e0655762384a68722aef.tar.gz
plugins: Use new build command as default
The old build is still around for comparison.
-rw-r--r--morphlib/plugins/branch_and_merge_plugin.py2
-rw-r--r--morphlib/plugins/build_plugin.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/plugins/branch_and_merge_plugin.py b/morphlib/plugins/branch_and_merge_plugin.py
index 454caade..4666ea96 100644
--- a/morphlib/plugins/branch_and_merge_plugin.py
+++ b/morphlib/plugins/branch_and_merge_plugin.py
@@ -65,7 +65,7 @@ class BranchAndMergePlugin(cliapp.Plugin):
self.app.add_subcommand('old-unpetrify', self.unpetrify)
self.app.add_subcommand(
'tag', self.tag, arg_synopsis='TAG-NAME -- [GIT-COMMIT-ARG...]')
- self.app.add_subcommand('build', self.build,
+ self.app.add_subcommand('old-build', self.build,
arg_synopsis='SYSTEM')
self.app.add_subcommand('old-status', self.status)
self.app.add_subcommand('old-branch-from-image',
diff --git a/morphlib/plugins/build_plugin.py b/morphlib/plugins/build_plugin.py
index f304e59a..8e04d0b3 100644
--- a/morphlib/plugins/build_plugin.py
+++ b/morphlib/plugins/build_plugin.py
@@ -26,7 +26,7 @@ class BuildPlugin(cliapp.Plugin):
def enable(self):
self.app.add_subcommand('build-morphology', self.build_morphology,
arg_synopsis='(REPO REF FILENAME)...')
- self.app.add_subcommand('new-build', self.build,
+ self.app.add_subcommand('build', self.build,
arg_synopsis='SYSTEM')
def disable(self):