Skip to content

Commit

Permalink
even the ones loosely matched should be listed
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Mar 28, 2023
1 parent cddce91 commit 3803f14
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xpra/codecs/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ def main(args):
enable_color(format_string=format_string)

if len(args)>1:
names = []
for x in args[1:]:
name = x.lower().replace("-", "_")
if name not in CODEC_OPTIONS:
Expand All @@ -404,7 +405,8 @@ def main(args):
elif len(loose_matches)>1:
log.warn(f"{x} matches: "+csv(loose_matches))
load_codec(name)
list_codecs = args[1:]
names.append(name)
list_codecs = names
else:
load_codecs(sources=True)
list_codecs = ALL_CODECS
Expand Down

0 comments on commit 3803f14

Please sign in to comment.