Don't include --progam in the condition
This commit is contained in:
parent
a57e96500a
commit
f26519863f
1 changed files with 2 additions and 4 deletions
|
|
@ -93,9 +93,7 @@ def get_match_suffix(self, args):
|
|||
return ' '
|
||||
if args.add_trailing_space == 'never':
|
||||
return ''
|
||||
if args.multiple and args.program == '-':
|
||||
return ' '
|
||||
return ''
|
||||
return ' ' if args.multiple else ''
|
||||
|
||||
def reset(self):
|
||||
self.current_input = ''
|
||||
|
|
@ -379,7 +377,7 @@ def run(args, text):
|
|||
default=auto
|
||||
choices=auto,always,never
|
||||
Add trailing space after matched text. Defaults to auto, which adds the space
|
||||
when used together with --multiple and pasting match into the terminal window.
|
||||
when used together with --multiple.
|
||||
'''.format(','.join(sorted(URL_PREFIXES))).format
|
||||
help_text = 'Select text from the screen using the keyboard. Defaults to searching for URLs.'
|
||||
usage = ''
|
||||
|
|
|
|||
Loading…
Reference in a new issue