|
@@ -569,7 +569,10 @@ class BindCmdInterpreter(Cmd):
|
|
|
elif cmd.command == "add":
|
|
|
self.config_data.add_value(identifier, cmd.params['value'])
|
|
|
elif cmd.command == "remove":
|
|
|
- self.config_data.remove_value(identifier, cmd.params['value'])
|
|
|
+ if 'value' in cmd.params:
|
|
|
+ self.config_data.remove_value(identifier, cmd.params['value'])
|
|
|
+ else:
|
|
|
+ self.config_data.remove_value(identifier, None)
|
|
|
elif cmd.command == "set":
|
|
|
if 'identifier' not in cmd.params:
|
|
|
print("Error: missing identifier or value")
|