diff options
author | Gordon Sim <gsim@apache.org> | 2006-12-06 08:11:57 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2006-12-06 08:11:57 +0000 |
commit | 69520adb359ca50918c802611e300887bcfd5bea (patch) | |
tree | 13fcb5edbb0e70f160679f7739523b1b65b6c65d /qpid/cpp/lib/broker/SessionHandlerFactoryImpl.cpp | |
parent | d2aafdc8fc161aedecdd49b307dcebe2a06efc92 (diff) | |
download | qpid-python-69520adb359ca50918c802611e300887bcfd5bea.tar.gz |
Patch sumbitted to qpid-dev:
2006-12-05 Jim Meyering <meyering@redhat.com>
Improve --help output. Add --version option.
* lib/broker/Configuration.cpp: Include <config.h>.
(Configuration::Configuration): Use the active voice.
Handle --version.
(Configuration::usage): Add Usage:... and bug-reporting address.
Output short+long options like "-o, --option ...", so that help2man
will format them properly.
* lib/broker/Configuration.h:
(class Configuration) [version, programName]: New members.
(parse): Update prototype.
(isVersion, setValue): New prototypes.
* src/qpidd.cpp: Include <config.h>.
(programName): New file-scoped global.
(handle_signal, main): Emit diagnostics to stderr.
(main): Pass program name to config.parse.
(main): Handle new --version option.
Also updated ConfigurationTest to use the modified parse() method.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@482958 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/lib/broker/SessionHandlerFactoryImpl.cpp')
0 files changed, 0 insertions, 0 deletions