summaryrefslogtreecommitdiff
path: root/summain
diff options
context:
space:
mode:
Diffstat (limited to 'summain')
-rwxr-xr-xsummain3
1 files changed, 2 insertions, 1 deletions
diff --git a/summain b/summain
index 99719d6..6cee168 100755
--- a/summain
+++ b/summain
@@ -44,6 +44,7 @@ class Summain(cliapp.Application):
def process_args(self, args):
relative = self.settings['relative-paths']
+ exclude = self.settings['exclude']
nn = summainlib.NumberNormalizer()
if self.settings['mangle-paths']:
pn = summainlib.PathNormalizer()
@@ -51,7 +52,7 @@ class Summain(cliapp.Application):
pn = summainlib.SamePath()
for root in args:
for filename in self.files(root):
- o = summainlib.FilesystemObject(filename, nn, pn)
+ o = summainlib.FilesystemObject(filename, nn, pn, exclude)
self.output.write(o.format(root if relative else None))
self.output.write('\n')