From 9faad289e7fedb99a3d359cf1bb19dc5ca9c2a85 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Tue, 26 Jul 2016 23:53:57 +0000 Subject: 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 --- morphlib/plugins/get_repo_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morphlib/plugins/get_repo_plugin.py b/morphlib/plugins/get_repo_plugin.py index 1da3c6f6..38c75670 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') -- cgit v1.2.1