summaryrefslogtreecommitdiff
path: root/summain
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-05-16 13:58:52 +0100
committerLars Wirzenius <liw@liw.fi>2011-05-16 13:58:52 +0100
commitc93f35d82794aac1948d36e50ce9709e354ef234 (patch)
tree2248eb64f006789f45dc9bfe0a2a6450172b2896 /summain
parent639fe2c64b2b4295440cf01327ee9cfc7cdad717 (diff)
downloadsummain-c93f35d82794aac1948d36e50ce9709e354ef234.tar.gz
Add --exclude option.
Diffstat (limited to 'summain')
-rwxr-xr-xsummain3
1 files changed, 3 insertions, 0 deletions
diff --git a/summain b/summain
index de62c4b..99719d6 100755
--- a/summain
+++ b/summain
@@ -29,6 +29,9 @@ class Summain(cliapp.Application):
'print paths relative to arguments')
self.settings.add_boolean_setting(['mangle-paths', 'm'],
'mangle (obfuscate) paths')
+ self.settings.add_string_list_setting(['exclude'],
+ 'do not output or compute FIELD',
+ metavar='FIELD')
def files(self, root):
if os.path.isdir(root):