Skip to content

Commit

Permalink
flux-hostlist: allow --nth to used with --expand and --count
Browse files Browse the repository at this point in the history
Problem: The flux-hostlist `-n, --nth` option no longer needs to be
in the mutually exclusive group with --expand and --count.

Remove `-n, --nth` from the group so it can be used with these options.
  • Loading branch information
grondo committed Dec 5, 2024
1 parent 61cda1a commit fa0e910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/flux-hostlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def parse_args():
action="store_true",
help="Print the total number of hosts",
)
group.add_argument(
parser.add_argument(
"-n",
"--nth",
type=str,
Expand Down

0 comments on commit fa0e910

Please sign in to comment.