Browse Source

add a do-not-edit note to auto-generated files

Thomas Waldmann 9 years ago
parent
commit
2f2925ed89
1 changed files with 1 additions and 0 deletions
  1. 1 0
      setup.py

+ 1 - 0
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,