From 81ddf047d621abc9b9d72c2e00267a44cdca5f1c Mon Sep 17 00:00:00 2001 From: Gerhard Gonter <ggonter@gmail.com> Date: Tue, 7 Mar 2017 13:12:01 +0100 Subject: [PATCH] add key files to be specified on the command line --- show_fingerprints.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/show_fingerprints.pl b/show_fingerprints.pl index 4c18011..9e3ffed 100755 --- a/show_fingerprints.pl +++ b/show_fingerprints.pl @@ -16,6 +16,8 @@ my ($version, $has_E)= get_ssh_version(); my $hash_algorithm= 'MD5'; my @files= <*.pub>; +push @files, @ARGV if (@ARGV); + # print "files: ", join (' ', @files), "\n"; push (@files, <authorized_keys*>); -- GitLab