diff options
author | Josh Triplett <josh@joshtriplett.org> | 2019-01-27 08:27:33 +0100 |
---|---|---|
committer | Josh Triplett <josh@joshtriplett.org> | 2019-01-27 08:27:33 +0100 |
commit | 0eceebbdfdc2c5e1d677bff95a9ac1ef2f728337 (patch) | |
tree | ea115e22ccc8ba68b83e5f86d3e90915b80943c9 /cmdline/apt-get.cc | |
parent | 4200469bb5a14c4659285917ed30c46a0b15c286 (diff) |
Add a "reinstall" command as an alias for "install --reinstall".
aptitude has a similar "reinstall" command for precedent.
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r-- | cmdline/apt-get.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 6d25ed509..da18d2d19 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -405,6 +405,7 @@ static std::vector<aptDispatchWithHelp> GetCommands() /*{{{*/ {"update", &DoUpdate, _("Retrieve new lists of packages")}, {"upgrade", &DoUpgrade, _("Perform an upgrade")}, {"install", &DoInstall, _("Install new packages (pkg is libc6 not libc6.deb)")}, + {"reinstall", &DoInstall, _("Reinstall packages (pkg is libc6 not libc6.deb)")}, {"remove", &DoInstall, _("Remove packages")}, {"purge", &DoInstall, _("Remove packages and config files")}, {"autoremove", &DoInstall, _("Remove automatically all unused packages")}, |