Skip to content

Commit

Permalink
Merge pull request #90 from NERSC/issue77
Browse files Browse the repository at this point in the history
remove newline replace to fix formatting of help options
  • Loading branch information
lastephey authored Oct 9, 2023
2 parents 3282419 + 227ae3b commit cfb5f16
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions podman_hpc/podman_hpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,7 @@ def call_podman(ctx, siteconf, help, podman_args, **site_opts):
app_options = ""
if formatter.getvalue():
app_options = (
f"{app_name.capitalize()} {formatter.getvalue()}\n".replace(
"\n", "\\n"
)
)
f"{app_name.capitalize()} {formatter.getvalue()}\n")

cmd = [siteconf.podman_bin, ctx.info_name, "--help"]
proc = Popen(cmd, env=siteconf.env, stdout=PIPE)
Expand Down

0 comments on commit cfb5f16

Please sign in to comment.