summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/sbin/bcfg22
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sbin/bcfg2 b/src/sbin/bcfg2
index fc589c0ef..72c58cbe9 100755
--- a/src/sbin/bcfg2
+++ b/src/sbin/bcfg2
@@ -99,6 +99,8 @@ class Client:
self.setup = {}
self.get_setup(args)
self.logger.debug(self.setup)
+ if self.setup['remove'] not in [False, 'all', 'services', 'packages']:
+ self.logger.error("Got unknown argument %s for -r" % (self.setup['remove'])
def load_toolset(self, toolset_name):
'''Import client toolset modules'''