]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-cmndline.cc
refactor dpkg execution in deb/debsystem
[apt.git] / apt-private / private-cmndline.cc
index 1072b9a78b0d113fb8389c3c47d619302cc28603..7190fe50bb2384af5462d578c32d6db9084d6bc9 100644 (file)
@@ -248,9 +248,9 @@ static bool addArgumentsAPT(std::vector<CommandLine::Args> &Args, char const * c
 {
    if (CmdMatches("list"))
    {
-      addArg(0,"installed","APT::Cmd::Installed",0);
+      addArg('i',"installed","APT::Cmd::Installed",0);
       addArg(0,"upgradeable","APT::Cmd::Upgradable",0);
-      addArg(0,"upgradable","APT::Cmd::Upgradable",0);
+      addArg('u',"upgradable","APT::Cmd::Upgradable",0);
       addArg(0,"manual-installed","APT::Cmd::Manual-Installed",0);
       addArg('v', "verbose", "APT::Cmd::List-Include-Summary", 0);
       addArg('a', "all-versions", "APT::Cmd::All-Versions", 0);