config: add ability to add and remove options

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2017-08-26 11:20:36 +03:00
parent b707dbd0fe
commit 98c29c80d3
2 changed files with 67 additions and 25 deletions
+5
View File
@@ -381,6 +381,11 @@ def parse_args(argv=None):
'config',
parents=[parent_parser],
help='Get or set repository options')
config_parser.add_argument('-u',
'--unset',
default=False,
action='store_true',
help='Unset option')
config_parser.add_argument('name',
help='Option name')
config_parser.add_argument('value',