]> git.zerfleddert.de Git - rsbs2/commitdiff
list ipmi boards one per line
authorThomas Glanzmann <thomas@glanzmann.de>
Sun, 7 May 2017 10:26:48 +0000 (12:26 +0200)
committerThomas Glanzmann <thomas@glanzmann.de>
Sun, 7 May 2017 10:26:48 +0000 (12:26 +0200)
supermicro-kvm.pl

index 334bb2b1b9290bd149216b2257a423827f68aef2..e24cb1926150106eaf07bca70a0118fdc1eea511 100755 (executable)
@@ -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);
Impressum, Datenschutz