From aee449595a07ee4bd86156d8a9e255593c7085d5 Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Sun, 7 May 2017 12:26:48 +0200 Subject: [PATCH] list ipmi boards one per line --- supermicro-kvm.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.39.5