summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-07-26 23:53:57 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-07-26 23:53:59 (GMT)
commit9faad289e7fedb99a3d359cf1bb19dc5ca9c2a85 (patch)
tree871062e4ee30e1155f5f1b1f7d9abd6febd31894
parentf877baa4e64611692fcf765d70c9f5004ec1c947 (diff)
downloadmorph-9faad289e7fedb99a3d359cf1bb19dc5ca9c2a85.tar.gz
Rename get-repo's option '--ref' to '--checkout-ref'
The option '--ref' is going to be used for other things in the tool. Change-Id: Icbee89c4693ca53618b9c039120fbb0c6636285d
-rw-r--r--morphlib/plugins/get_repo_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/plugins/get_repo_plugin.py b/morphlib/plugins/get_repo_plugin.py
index 1da3c6f..38c7567 100644
--- a/morphlib/plugins/get_repo_plugin.py
+++ b/morphlib/plugins/get_repo_plugin.py
@@ -35,7 +35,7 @@ class GetRepoPlugin(cliapp.Plugin):
def enable(self):
self.app.add_subcommand(
'get-repo', self.get_repo, arg_synopsis='CHUNK [PATH]')
- self.app.settings.string(['ref', 'r'],
+ self.app.settings.string(['checkout-ref'],
'ref to checkout in the cloned repo',
metavar='REF', default='',
group='get-repo options')