summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authoranatoly techtonik <techtonik@gmail.com>2018-11-21 10:53:29 +0300
committerGitHub <noreply@github.com>2018-11-21 10:53:29 +0300
commita55221a856f44cf71ea3e0603844698ecde8ec28 (patch)
tree23a399a939b5f1d5360a9103364c67d7a059b471 /cmdline
parent5d1dfd120a5a80b126f3a7eeb29b4fd962d7191d (diff)
apt.cc: Add "apt info" alias for muscle memory
Muscle memory is acquired from querying package info with tools like snap, dnf etc.
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmdline/apt.cc b/cmdline/apt.cc
index 6bf85467e..99e281261 100644
--- a/cmdline/apt.cc
+++ b/cmdline/apt.cc
@@ -90,6 +90,7 @@ static std::vector<aptDispatchWithHelp> GetCommands() /*{{{*/
{"source", &DoSource, nullptr},
{"download", &DoDownload, nullptr},
{"changelog", &DoChangelog, nullptr},
+ {"info", &ShowPackage, nullptr},
{nullptr, nullptr, nullptr}
};