X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/3477c644417600d9ec8f8d2a44f82da0a4b15eb5..b8d8e13c1f9e4d3cdd7d41c5c9d711a36dd5f9c3:/devscripts/bash-completion.py diff --git a/devscripts/bash-completion.py b/devscripts/bash-completion.py index ce68f26..3d13913 100755 --- a/devscripts/bash-completion.py +++ b/devscripts/bash-completion.py @@ -25,5 +25,6 @@ def build_completion(opt_parser): filled_template = template.replace("{{flags}}", " ".join(opts_flag)) f.write(filled_template) + parser = youtube_dl.parseOpts()[0] build_completion(parser)