mirror of
https://github.com/borgbackup/borg.git
synced 2024-11-15 03:34:38 +03:00
add a do-not-edit note to auto-generated files
This commit is contained in:
parent
2922948100
commit
2f2925ed89
1
setup.py
1
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,
|
||||
|
Loading…
Reference in New Issue
Block a user