From a5f9b45e4a67246f7af2c6fc62de9c531cd314a4 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Fri, 1 Jul 2016 16:40:36 +0200 Subject: alias apt-key list to finger There is no real point in having two commands which roughly do the same thing, especially if the difference is just in the display of the fingerprint and hence security sensitive information. Closes: 829232 --- cmdline/apt-key.in | 5 +---- doc/apt-key.8.xml | 15 ++------------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/cmdline/apt-key.in b/cmdline/apt-key.in index 7c12c72a3..5bd8d1249 100644 --- a/cmdline/apt-key.in +++ b/cmdline/apt-key.in @@ -583,10 +583,7 @@ case "$command" in net_update merge_back_changes ;; - list) - foreach_keyring_do 'run_cmd_on_keyring' --list-keys "$@" - ;; - finger*) + list|finger*) foreach_keyring_do 'run_cmd_on_keyring' --fingerprint "$@" ;; export|exportall) diff --git a/doc/apt-key.8.xml b/doc/apt-key.8.xml index b5319efa3..a847060c0 100644 --- a/doc/apt-key.8.xml +++ b/doc/apt-key.8.xml @@ -89,28 +89,17 @@ - + , - List trusted keys. + List trusted keys with fingerprints. - - - - - List fingerprints of trusted keys. - - - - - - -- cgit v1.2.3-70-g09d2