|
@@ -103,10 +103,11 @@ int main(int argc, const char *argv[]) /*{{{*/
|
|
|
CommandLine::Dispatch Cmds[] = {{"list",&List},
|
|
CommandLine::Dispatch Cmds[] = {{"list",&List},
|
|
|
{"search", &FullTextSearch},
|
|
{"search", &FullTextSearch},
|
|
|
{"show", &APT::Cmd::ShowPackage},
|
|
{"show", &APT::Cmd::ShowPackage},
|
|
|
- // needs root
|
|
|
|
|
|
|
+ // package stuff
|
|
|
{"install",&DoInstall},
|
|
{"install",&DoInstall},
|
|
|
{"remove", &DoInstall},
|
|
{"remove", &DoInstall},
|
|
|
{"purge", &DoInstall},
|
|
{"purge", &DoInstall},
|
|
|
|
|
+ // system wide stuff
|
|
|
{"update",&DoUpdate},
|
|
{"update",&DoUpdate},
|
|
|
{"upgrade",&DoAptUpgrade},
|
|
{"upgrade",&DoAptUpgrade},
|
|
|
// misc
|
|
// misc
|