diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-10-26 16:50:21 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-11-04 18:04:04 +0100 |
commit | 41d39345bdc31cb9b8be057cd678aa2890830437 (patch) | |
tree | 3aba387df084fca7bccc3838aabe7af92f819543 /cmdline/apt-sortpkgs.cc | |
parent | 6079b276a959086ff18302cab752b6d7cfe5ad9f (diff) |
deal with --version more centrally
Git-Dch: Ignore
Diffstat (limited to 'cmdline/apt-sortpkgs.cc')
-rw-r--r-- | cmdline/apt-sortpkgs.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/cmdline/apt-sortpkgs.cc b/cmdline/apt-sortpkgs.cc index b5a2c12df..f9aa7d728 100644 --- a/cmdline/apt-sortpkgs.cc +++ b/cmdline/apt-sortpkgs.cc @@ -134,11 +134,7 @@ static bool DoIt(string InFile) /*}}}*/ bool ShowHelp(CommandLine &, aptDispatchWithHelp const *) /*{{{*/ { - ioprintf(std::cout, "%s %s (%s)\n", PACKAGE, PACKAGE_VERSION, COMMON_ARCH); - if (_config->FindB("version") == true) - return true; - - cout << + std::cout << _("Usage: apt-sortpkgs [options] file1 [file2 ...]\n" "\n" "apt-sortpkgs is a simple tool to sort package files. The -s option is used\n" @@ -149,7 +145,6 @@ bool ShowHelp(CommandLine &, aptDispatchWithHelp const *) /*{{{*/ " -s Use source file sorting\n" " -c=? Read this configuration file\n" " -o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp\n"); - return true; } /*}}}*/ |