Skip to content

Commit

Permalink
utils/hwloc-ps: Fix output stream when using '-h'
Browse files Browse the repository at this point in the history
Signed-off-by: Clément Foyer <clement.foyer@univ-reims.fr>
  • Loading branch information
clementFoyer authored and bgoglin committed Jun 13, 2023
1 parent be8a7ed commit dc7b4b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/hwloc/hwloc-ps.c
Expand Up @@ -470,7 +470,7 @@ int main(int argc, char *argv[])
exit(EXIT_SUCCESS);

} else if (!strcmp (argv[0], "-h") || !strcmp (argv[0], "--help")) {
usage (callname, stderr);
usage (callname, stdout);
exit(EXIT_SUCCESS);
} else {
fprintf (stderr, "Unrecognized option: %s\n", argv[0]);
Expand Down

0 comments on commit dc7b4b4

Please sign in to comment.