From: Thomas Glanzmann Date: Sun, 7 May 2017 10:26:48 +0000 (+0200) Subject: list ipmi boards one per line X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rsbs2/commitdiff_plain/aee449595a07ee4bd86156d8a9e255593c7085d5 list ipmi boards one per line --- diff --git a/supermicro-kvm.pl b/supermicro-kvm.pl index 334bb2b..e24cb19 100755 --- a/supermicro-kvm.pl +++ b/supermicro-kvm.pl @@ -52,9 +52,9 @@ my $hostalias = $ARGV[0]; if (!defined($hostalias) || !defined($Config{$hostalias})) { print STDERR "Usage: $0 card-alias\n\n"; - print STDERR "card-alias\tone of: "; - foreach my $alias (keys(%Config)) { - print STDERR "\"${alias}\" "; + print STDERR "card-alias\tone of:\n"; + foreach my $alias (sort keys(%Config)) { + print STDERR "\"${alias}\"\n"; } print STDERR "(see ~/.rsbs2rc)\n"; exit(1);