Browse Source

remove useless line, the result is never used

totalwebcasting
Jouke Waleson 10 years ago
parent
commit
fab6d4c048
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      devscripts/fish-completion.py

+ 0
- 1
devscripts/fish-completion.py View File

@ -30,7 +30,6 @@ def build_completion(opt_parser):
for group in opt_parser.option_groups: for group in opt_parser.option_groups:
for option in group.option_list: for option in group.option_list:
long_option = option.get_opt_string().strip('-') long_option = option.get_opt_string().strip('-')
shell_quote([option.help])
complete_cmd = ['complete', '--command', 'youtube-dl', '--long-option', long_option] complete_cmd = ['complete', '--command', 'youtube-dl', '--long-option', long_option]
if option._short_opts: if option._short_opts:
complete_cmd += ['--short-option', option._short_opts[0].strip('-')] complete_cmd += ['--short-option', option._short_opts[0].strip('-')]


Loading…
Cancel
Save