This makes things much easier to use
{
if (CmdMatches("list"))
{
{
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,"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);
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);