mirror of
https://github.com/borgbackup/borg.git
synced 2024-11-10 00:12:03 +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():
|
for command, parser in choices.items():
|
||||||
print('generating help for %s' % command)
|
print('generating help for %s' % command)
|
||||||
with open('docs/usage/%s.rst.inc' % command, 'w') as doc:
|
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':
|
if command == 'help':
|
||||||
for topic in Archiver.helptext:
|
for topic in Archiver.helptext:
|
||||||
params = {"topic": topic,
|
params = {"topic": topic,
|
||||||
|
Loading…
Reference in New Issue
Block a user