!5 [sync] PR-4: Fix help doc
From: @openeuler-sync-bot Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
e081429a52
25
fix-help-doc.patch
Normal file
25
fix-help-doc.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 35be39adfbd81b3256ef7d3dffe274c7ef520dd5 Mon Sep 17 00:00:00 2001
|
||||
From: wk333 <13474090681@163.com>
|
||||
Date: Wed, 9 Mar 2022 17:51:25 +0800
|
||||
Subject: [PATCH 1/1] test
|
||||
|
||||
---
|
||||
src/rootsh.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/rootsh.c b/src/rootsh.c
|
||||
index 9d6ffc7..c24cc1a 100644
|
||||
--- a/src/rootsh.c
|
||||
+++ b/src/rootsh.c
|
||||
@@ -1517,7 +1517,7 @@ void version() {
|
||||
|
||||
void usage() {
|
||||
printf("Usage: %s [OPTION [ARG]] ...\n"
|
||||
- " -?, --help show this help statement\n"
|
||||
+ " -h, --help show this help statement\n"
|
||||
" -i, --login start a (initial) login shell\n"
|
||||
" -u, --user=username run shell as a different user\n"
|
||||
" -f, --logfile=file name of your logfile (standalone only)\n"
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@ -1,13 +1,14 @@
|
||||
Name: rootsh
|
||||
Summary: Shell wrapper for auditing
|
||||
Version: 1.5.3
|
||||
Release: 16
|
||||
Release: 17
|
||||
License: GPLv3+
|
||||
Source0: http://download.sourceforge.net/rootsh/%{name}-%{version}.tar.gz
|
||||
Source1: rootsh.logrotate
|
||||
Source2: logrotate-rootsh.sh
|
||||
Patch0: rootsh-1.5.3-open-needs-3-args.patch
|
||||
Patch1: rootsh-1.5.3_change_permissions.patch
|
||||
Patch2: fix-help-doc.patch
|
||||
URL: http://sourceforge.net/projects/rootsh
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
@ -54,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man1/rootsh.1.gz
|
||||
|
||||
%changelog
|
||||
* Wed Mar 09 2022 wangkai <wangkai385@huawei.com> - 1.5.3-17
|
||||
- Fix help doc
|
||||
|
||||
* Wed Jun 23 2021 yuanxin<yuanxin24@huawei.com> - 1.5.3-16
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user