aboutsummaryrefslogtreecommitdiff
path: root/patchtree/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'patchtree/cli.py')
-rw-r--r--patchtree/cli.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/patchtree/cli.py b/patchtree/cli.py
index f4c0dd1..8f3a48b 100644
--- a/patchtree/cli.py
+++ b/patchtree/cli.py
@@ -51,9 +51,11 @@ def main():
print("no files to patch!", file=stderr)
return 0
+ config.header(context)
+
for file in files:
patch = config.patch(config, file)
- patch.write_diff(context)
+ patch.write(context)
context.output.flush()
context.output.close()