Skip to content

Commit

Permalink
Fix the missing separators in nvflare cli
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacYangSLA committed Dec 26, 2023
1 parent f4bd1b4 commit 46450db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvflare/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def parse_args(prog_name: str):
cmd = args.__dict__.get("sub_command")
sub_cmd_parser = sub_cmd_parsers.get(cmd)
if argv:
msg = f"{prog_name} {cmd}: unrecognized arguments: {''.join(argv)}\n"
msg = f"{prog_name} {cmd}: unrecognized arguments: {' '.join(argv)}\n"
print(f"\nerror: {msg}")
sub_cmd_parser.print_help()
_parser.exit(2, "\n")
Expand Down

0 comments on commit 46450db

Please sign in to comment.