diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-06-06 04:54:02 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-06-06 04:54:02 +0000 |
commit | b12c324e2e8892a50b51336febb664c9c441b37c (patch) | |
tree | 614ff5621f01668c9dbe2abe89eec2a060048072 /perl-install/standalone | |
parent | 809bc2de38d8c976014c92193c7c2b43c9c31849 (diff) | |
download | drakx-backup-do-not-use-b12c324e2e8892a50b51336febb664c9c441b37c.tar drakx-backup-do-not-use-b12c324e2e8892a50b51336febb664c9c441b37c.tar.gz drakx-backup-do-not-use-b12c324e2e8892a50b51336febb664c9c441b37c.tar.bz2 drakx-backup-do-not-use-b12c324e2e8892a50b51336febb664c9c441b37c.tar.xz drakx-backup-do-not-use-b12c324e2e8892a50b51336febb664c9c441b37c.zip |
nicer error
Diffstat (limited to 'perl-install/standalone')
-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>) |