config manipulators are now mutually exclusive

This commit is contained in:
Valentin Haenel
2015-02-13 15:43:26 +01:00
parent 0d72ed7e1d
commit d2e45484bd

10
_conda
View File

@@ -317,11 +317,11 @@ case $state in
$json_opts \
'--system[write to the system .condarc file]' \
'--file[write to the given file.]:file:_path_files' \
'--get[get the configuration value]:key:__conda_config' \
'--add[add one configuration value to a list key]:key:__conda_config:value:' \
'--set[set a boolean key]:key:__conda_config:value:' \
'--remove[remove a configuration value from a list key]:key:__conda_config:value' \
'--remove-key[remove a configuration key (and all its values)]:key:__conda_config' \
'( --add --set --remove --remove-key)--get[get the configuration value]:key:__conda_config' \
'(--get --set --remove --remove-key)--add[add one configuration value to a list key]:key:__conda_config:value:' \
'(--get --add --remove --remove-key)--set[set a boolean key]:key:__conda_config:value:' \
'(--get --add --set --remove-key)--remove[remove a configuration value from a list key]:key:__conda_config:value' \
'(--get --add --set --remove )--remove-key[remove a configuration key (and all its values)]:key:__conda_config' \
'(-f --force)'{-f,--force}'[write to the config file using the yaml parser]' \
;;
(init)