From 41d39345bdc31cb9b8be057cd678aa2890830437 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Mon, 26 Oct 2015 16:50:21 +0100 Subject: deal with --version more centrally Git-Dch: Ignore --- ftparchive/apt-ftparchive.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'ftparchive') diff --git a/ftparchive/apt-ftparchive.cc b/ftparchive/apt-ftparchive.cc index 0abb3e2dd..99d5627f0 100644 --- a/ftparchive/apt-ftparchive.cc +++ b/ftparchive/apt-ftparchive.cc @@ -606,11 +606,7 @@ static void LoadBinDir(vector &PkgList,Configuration &Setup) bool ShowHelp(CommandLine &, aptDispatchWithHelp const *) /*{{{*/ { - ioprintf(cout, "%s %s (%s)\n", PACKAGE, PACKAGE_VERSION, COMMON_ARCH); - if (_config->FindB("version") == true) - return true; - - cout << + std::cout << _("Usage: apt-ftparchive [options] command\n" "Commands: packages binarypath [overridefile [pathprefix]]\n" " sources srcpath [overridefile [pathprefix]]\n" @@ -649,7 +645,6 @@ bool ShowHelp(CommandLine &, aptDispatchWithHelp const *) /*{{{*/ " --contents Control contents file generation\n" " -c=? Read this configuration file\n" " -o=? Set an arbitrary configuration option") << endl; - return true; } /*}}}*/ -- cgit v1.2.3