commit:     e76ce9635387e56896589c35c7e3ca46a939dd14
Author:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  7 22:34:15 2015 +0000
Commit:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Sat Mar  7 22:34:15 2015 +0000
URL:        https://gitweb.gentoo.org/proj/layman.git/commit/?id=e76ce963

argsparser.py: Adds "protocol_order" to list of available CLI options

 layman/argsparser.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/layman/argsparser.py b/layman/argsparser.py
index b504fa2..a12b95a 100644
--- a/layman/argsparser.py
+++ b/layman/argsparser.py
@@ -262,6 +262,18 @@ class ArgsParser(BareConfig):
                               'available number of columns automatically.')
 
         #-----------------------------------------------------------------
+        # Additional Options
+        etc_opts = self.parser.add_argument_group('<Additional options>')
+
+        etc_opts.add_argument('--protocol_order',
+                              nargs = '+',
+                              help = 'Sets the order in which protocols will '
+                              'be handled if they are present. Will only '
+                              'use the provided protocols when installing '
+                              'overlays')
+
+
+        #-----------------------------------------------------------------
         # Debug Options
 
         #self.output.cli_opts(self.parser)

Reply via email to