diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Client/Frame.py | 3 | ||||
-rw-r--r-- | src/lib/Options.py | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/Client/Frame.py b/src/lib/Client/Frame.py index 9be8a2343..735fb152c 100644 --- a/src/lib/Client/Frame.py +++ b/src/lib/Client/Frame.py @@ -217,6 +217,9 @@ class Frame: if b.get('name') in self.setup['bundle']] self.whitelist = [e for e in self.whitelist if \ True in [e in b for b in bundles]] + elif self.setup['indep']: + bundles = [nb for nb in self.config.getchildren() if nb.tag != \ + 'Bundle'] else: bundles = self.config.getchildren() diff --git a/src/lib/Options.py b/src/lib/Options.py index a2d9d46ca..c916b96fe 100644 --- a/src/lib/Options.py +++ b/src/lib/Options.py @@ -252,8 +252,10 @@ CLIENT_CACHE = Option('store the configuration in a file', default=False, cmd='-c', odesc="<cache path>") CLIENT_REMOVE = Option('force removal of additional configuration items', default=False, cmd='-r', odesc="<entry type|all>") -CLIENT_BUNDLE = Option('only configure the given bundle', default=[], - cmd='-b', odesc='<bundle>', cook=colon_split) +CLIENT_BUNDLE = Option('only configure the given bundle(s)', default=[], + cmd='-b', odesc='<bundle:bundle>', cook=colon_split) +CLIENT_INDEP = Option('only configure the given bundle(s)', default=False, + cmd='-z') CLIENT_KEVLAR = Option('run in kevlar (bulletproof) mode', default=False, cmd='-k', ) CLIENT_DLIST = Option('run client in server decision list mode', default=False, |