]> git.saurik.com Git - apt.git/commit - ftparchive/makefile
streamline display of --help in all tools
authorDavid Kalnischkies <david@kalnischkies.de>
Sat, 8 Nov 2014 17:14:46 +0000 (18:14 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Sun, 9 Nov 2014 00:26:07 +0000 (01:26 +0100)
commitad7e0941b376d792911f240377094a2e78ca8756
treea7e65478aa213bd7639cd45e8025989b6d413bfa
parent20801f613690b330c79b4f7a30dc3ff52b722468
streamline display of --help in all tools

By convention, if I run a tool with --help or --version I expect it to
exit successfully with the usage, while if I do call it wrong (like
without any parameters) I expect the usage message shown with a non-zero
exit.
21 files changed:
apt-pkg/contrib/cmndline.cc
apt-pkg/contrib/cmndline.h
apt-private/private-cmndline.cc
apt-private/private-cmndline.h
cmdline/apt-cache.cc
cmdline/apt-cdrom.cc
cmdline/apt-config.cc
cmdline/apt-extracttemplates.cc
cmdline/apt-get.cc
cmdline/apt-helper.cc
cmdline/apt-internal-solver.cc
cmdline/apt-mark.cc
cmdline/apt-sortpkgs.cc
cmdline/apt.cc
cmdline/makefile
debian/tests/run-tests
ftparchive/apt-ftparchive.cc
ftparchive/makefile
prepare-release
test/integration/framework
test/integration/test-00-commands-have-help [new file with mode: 0755]