]> git.saurik.com Git - apt-legacy.git/blobdiff - cmdline/apt-config.cc
Remove code that isn't being used with Apple http.
[apt-legacy.git] / cmdline / apt-config.cc
index 716d2e3bc0b27504317f7de97d8e5d04bbb5c7cb..9919a9c949be91f64eb584ad76844dbb93cc3b52 100644 (file)
@@ -67,8 +67,8 @@ bool DoDump(CommandLine &CmdL)
 /* */
 int ShowHelp()
 {
-   ioprintf(cout,_("%s %s for %s %s compiled on %s %s\n"),PACKAGE,VERSION,
-           COMMON_OS,COMMON_CPU,__DATE__,__TIME__);
+   ioprintf(cout,_("%s %s for %s compiled on %s %s\n"),PACKAGE,VERSION,
+           COMMON_ARCH,__DATE__,__TIME__);
    if (_config->FindB("version") == true)
       return 0;
    
@@ -88,12 +88,7 @@ int ShowHelp()
    return 0;
 }
                                                                        /*}}}*/
-
-int main_(int argc,const char *argv[]);
-int main(int argc,const char *argv[]) {
-    _exit(main_(argc, argv));
-}
-int main_(int argc,const char *argv[])
+int main(int argc,const char *argv[])                                  /*{{{*/
 {
    CommandLine::Args Args[] = {
       {'h',"help","help",0},
@@ -107,7 +102,7 @@ int main_(int argc,const char *argv[])
 
    // Set up gettext support
    setlocale(LC_ALL,"");
-   //textdomain(PACKAGE);
+   textdomain(PACKAGE);
 
    // Parse the command line and initialize the package library
    CommandLine CmdL(Args,_config);
@@ -137,3 +132,4 @@ int main_(int argc,const char *argv[])
    
    return 0;
 }
+                                                                       /*}}}*/