mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-24 00:37:56 +00:00
Dedent pattern help text
The help text describing patterns should be dedented like other multi-paragraph text blocks.
This commit is contained in:
parent
c5dcf46d44
commit
98da9d1b96
1 changed files with 2 additions and 2 deletions
|
@ -597,7 +597,7 @@ def do_break_lock(self, args):
|
|||
return self.exit_code
|
||||
|
||||
helptext = {}
|
||||
helptext['patterns'] = '''
|
||||
helptext['patterns'] = textwrap.dedent('''
|
||||
Exclude patterns use a variant of shell pattern syntax, with '*' matching any
|
||||
number of characters, '?' matching any single character, '[...]' matching any
|
||||
single character specified, including ranges, and '[!...]' matching any
|
||||
|
@ -624,7 +624,7 @@ def do_break_lock(self, args):
|
|||
|
||||
# The file '/home/user/cache/important' is *not* backed up:
|
||||
$ borg create -e /home/user/cache/ backup / /home/user/cache/important
|
||||
'''
|
||||
''')
|
||||
|
||||
def do_help(self, parser, commands, args):
|
||||
if not args.topic:
|
||||
|
|
Loading…
Reference in a new issue