id summary reporter owner description type status milestone component version severity resolution keywords cc 5329 "Example program first.cpp returns code 1 in case when program called with ""--help"" option" Vladimir Rutsky Vladimir Prus "Hello, first.cpp example at trunk/libs/program_options/example/first.cpp contains following code at line 30 (r70076): {{{ if (vm.count(""help"")) { cout << desc << ""\n""; return 1; } }}} That means that program will return non-zero code when called as ""./program --help"", which usually mean incorrect program termination. I think outputting help message is a correct program behavior and there should be returned zero code: ""return 0"". Best regards, Vladimir Rutsky " Bugs closed To Be Determined program_options Boost Development Trunk Cosmetic fixed return Vladimir Rutsky