Skip to content

Commit

Permalink
fix cli help (#1207)
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Oct 20, 2023
1 parent 2fe49c8 commit 46031a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/jupyterlite-core/jupyterlite_core/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def emit_alias_help(self): # pragma: no cover

# reformat first line
assert fhelp is not None
fhelp[0] = fhelp[0].replace("--" + name, alias) # type:ignore
fhelp[0] = fhelp[0].replace(f"--{name}", f"--{alias}") # type:ignore
yield from fhelp
yield indent("Equivalent to: [--%s]" % name)
except Exception as ex:
Expand Down

0 comments on commit 46031a5

Please sign in to comment.