]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-helper.cc
move 'unmet' handling into libapt-private
[apt.git] / cmdline / apt-helper.cc
index 1c67594b99c5a75d09619cdc0fce5c3f434439c2..1be122ad0d9144e6d072b0290fc4d9cd80dc776f 100644 (file)
@@ -112,7 +112,7 @@ bool ShowHelp(CommandLine &)                                                /*{{{*/
            "       apt-helper [options] download-file uri target-path\n"
            "\n"
            "apt-helper bundles a variety of commands for shell scripts to use\n"
            "       apt-helper [options] download-file uri target-path\n"
            "\n"
            "apt-helper bundles a variety of commands for shell scripts to use\n"
-           "e.g. the same proxy configuration or acquire system as APT would do.\n");
+           "e.g. the same proxy configuration or acquire system as APT would.\n");
    return true;
 }
                                                                        /*}}}*/
    return true;
 }
                                                                        /*}}}*/
@@ -131,7 +131,7 @@ int main(int argc,const char *argv[])                                       /*{{{*/
    InitLocale();
 
    CommandLine CmdL;
    InitLocale();
 
    CommandLine CmdL;
-   auto const Cmds = ParseCommandLine(CmdL, APT_CMD::APT_HELPER, &_config, &_system, argc, argv);
+   auto const Cmds = ParseCommandLine(CmdL, APT_CMD::APT_HELPER, &_config, &_system, argc, argv, &ShowHelp, &GetCommands);
 
    InitOutput();
 
 
    InitOutput();