diff options
-rwxr-xr-x | perl-install/standalone/bootloader-config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/bootloader-config b/perl-install/standalone/bootloader-config index 42bf12fa5..e167a5e54 100755 --- a/perl-install/standalone/bootloader-config +++ b/perl-install/standalone/bootloader-config @@ -26,7 +26,7 @@ my %options = ( 'no-initrd' => \ (my $no_initrd), ); -GetOptions(%options) or die <<'EOF'; +GetOptions(%options) && $action or die <<'EOF'; usage: bootloader-config --action add-kernel (--image <vmlinuz> | --kernel-version <2.6.xxx>) [--label <...>] [--no-short-name] [--initrd-options <options>] bootloader-config --action remove-kernel (--image <vmlinuz> | --kernel-version <2.6.xxx>) |