Skip to content

Commit

Permalink
Fix #693: --help doesn't print component specific command line options
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed Feb 7, 2013
1 parent 60db8dd commit 8b67315
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/util/command_line_handling.cpp
Expand Up @@ -591,17 +591,17 @@ namespace hpx { namespace util
store_command_line(argc, argv);
store_unregistered_options(argv[0], unregistered_options);

// help can be printed only after the runtime mode has been set
if (handle_help_options(help))
return 1; // exit application gracefully

// add all remaining ini settings to the global configuration
rtcfg_.reconfigure(ini_config_);

// print version/copyright information
if (vm_.count("hpx:version"))
return detail::print_version(std::cout);

// help can be printed only after the runtime mode has been set
if (handle_help_options(help))
return 1; // exit application gracefully

// all is good
return 0;
}
Expand Down

0 comments on commit 8b67315

Please sign in to comment.