rpmrebuild/fix-spelling-errors-that-could-mislead-users.patch
xujing dd56b00388 rpmrebuild: fix spelling errors that could mislead users
(cherry picked from commit f0a0e81aa5de1705b3bcf47f38e10e80afb11bf1)
2022-11-08 16:26:44 +08:00

40 lines
1.2 KiB
Diff

From 66600caf035017a179ddcc3bfebfc3f9887f3a79 Mon Sep 17 00:00:00 2001
From: xujing <xujing125@huawei.com>
Date: Tue, 8 Nov 2022 10:49:20 +0800
Subject: [PATCH] fix spelling errors that could mislead users
---
plugins/un_prelink.sh | 2 +-
rpmrebuild_parser.src | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/un_prelink.sh b/plugins/un_prelink.sh
index 56a4350..f115b43 100755
--- a/plugins/un_prelink.sh
+++ b/plugins/un_prelink.sh
@@ -60,7 +60,7 @@ fi
case $LONG_OPTION in
change-files)
;;
- *) msg "should be called from LONG_OPTION=change-file";
+ *) msg "should be called from LONG_OPTION=change-files";
syntaxe
;;
esac
diff --git a/rpmrebuild_parser.src b/rpmrebuild_parser.src
index eff950b..2f400ac 100755
--- a/rpmrebuild_parser.src
+++ b/rpmrebuild_parser.src
@@ -31,7 +31,7 @@ options:
-D, --define=<define> $UsageDefine
-e, --edit-spec $UsageEditSpec
-f, --filter=<command> $UsageFilter
- -i, --includes=<file> $UsageInclude
+ -i, --include=<file> $UsageInclude
-I, --install $UsageInstall
-k, --keep-perm $UsageKeepPerm
--pug-from-fs $UsagePugFs
--
2.27.0