diff options
author | Julian Andres Klode <jak@debian.org> | 2015-08-14 18:27:24 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2015-08-14 18:27:24 +0200 |
commit | f66738d7fb8978eaa30a179ae4f3bcc4ca7aa58f (patch) | |
tree | 1d6d7ff509eb178a15839998ce7b6901ea9c052d /cmdline | |
parent | c38847ebbbab115b01dd1421dee55d5a50d404f1 (diff) |
Make auto-remove and auto-clean aliases for the versions without -
Some people type them instead of autoremove and autoclean, so make
them happy.
Closes: #274159
Makes-Happy: Ansgar
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/apt-get.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 61ed41164..80e344740 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -1643,6 +1643,7 @@ int main(int argc,const char *argv[]) /*{{{*/ {"remove",&DoInstall}, {"purge",&DoInstall}, {"autoremove",&DoInstall}, + {"auto-remove",&DoInstall}, {"markauto",&DoMarkAuto}, {"unmarkauto",&DoMarkAuto}, {"dist-upgrade",&DoDistUpgrade}, @@ -1650,6 +1651,7 @@ int main(int argc,const char *argv[]) /*{{{*/ {"build-dep",&DoBuildDep}, {"clean",&DoClean}, {"autoclean",&DoAutoClean}, + {"auto-clean",&DoAutoClean}, {"check",&DoCheck}, {"source",&DoSource}, {"download",&DoDownload}, |