valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

Blame SOURCES/0120-kernel-install-fix-help-output.patch

572a44
From 13279ea569e963ac8cd7062a33108c209b9e2308 Mon Sep 17 00:00:00 2001
572a44
From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= <seblu@seblu.net>
572a44
Date: Thu, 5 Dec 2013 02:55:05 +0100
572a44
Subject: [PATCH] kernel-install: fix help output
572a44
572a44
Kernel install doesn't need the second argument on his command line when
572a44
removing.
572a44
This is correctly documented in the man page.
572a44
---
572a44
 src/kernel-install/kernel-install | 2 +-
572a44
 1 file changed, 1 insertion(+), 1 deletion(-)
572a44
572a44
diff --git a/src/kernel-install/kernel-install b/src/kernel-install/kernel-install
572a44
index f5ff362..3ae1d77 100644
572a44
--- a/src/kernel-install/kernel-install
572a44
+++ b/src/kernel-install/kernel-install
572a44
@@ -23,7 +23,7 @@ usage()
572a44
 {
572a44
     echo "Usage:"
572a44
     echo "        $0 add KERNEL-VERSION KERNEL-IMAGE"
572a44
-    echo "        $0 remove KERNEL-VERSION KERNEL-IMAGE"
572a44
+    echo "        $0 remove KERNEL-VERSION"
572a44
 }
572a44
 
572a44
 dropindirs_sort()