From 2f2925ed89e2455b1d05804f0c0c22522056b4d6 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Tue, 5 Jul 2016 23:29:23 +0200 Subject: [PATCH] add a do-not-edit note to auto-generated files --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 6312aee09..7aca6be78 100644 --- a/setup.py +++ b/setup.py @@ -163,6 +163,7 @@ class build_usage(Command): for command, parser in choices.items(): print('generating help for %s' % command) with open('docs/usage/%s.rst.inc' % command, 'w') as doc: + doc.write(".. IMPORTANT: this file is auto-generated from borg's built-in help, do not edit!\n\n") if command == 'help': for topic in Archiver.helptext: params = {"topic": topic,