- cout << PACKAGE << ' ' << VERSION << " for " << ARCHITECTURE <<
- " compiled on " << __DATE__ << " " << __TIME__ << endl;
- if (_config->FindB("version") == true)
- return 100;
-
- cout << "Usage: apt-config [options] command" << endl;
- cout << endl;
- cout << "apt-config is a simple tool to read the APT config file" << endl;
- cout << endl;
- cout << "Commands:" << endl;
- cout << " shell - Shell mode" << endl;
- cout << " dump - Show the configuration" << endl;
- cout << endl;
- cout << "Options:" << endl;
- cout << " -h This help text." << endl;
- cout << " -c=? Read this configuration file" << endl;
- cout << " -o=? Set an arbitary configuration option, eg -o dir::cache=/tmp" << endl;
- return 100;
+ std::cout <<
+ _("Usage: apt-config [options] command\n"
+ "\n"
+ "apt-config is an interface to the configuration settings used by\n"
+ "all APT tools, mainly intended for debugging and shell scripting.\n");
+ return true;