fix error options in doc
Signed-off-by: yixiangzhike <yixiangzhike007@163.com>
This commit is contained in:
parent
e3ae1f8234
commit
6557e567d7
34
libteam-fix-error-options-in-doc.patch
Normal file
34
libteam-fix-error-options-in-doc.patch
Normal file
@ -0,0 +1,34 @@
|
||||
From ce8bc85cbca8abe4928c25d2eb8e302e0577308f Mon Sep 17 00:00:00 2001
|
||||
From: yixiangzhike <yixiangzhike007@163.com>
|
||||
Date: Thu, 8 Sep 2022 19:30:36 +0800
|
||||
Subject: [PATCH] fix error options in doc
|
||||
|
||||
---
|
||||
man/teamd.8 | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/man/teamd.8 b/man/teamd.8
|
||||
index 3d27eae..59ddbfc 100644
|
||||
--- a/man/teamd.8
|
||||
+++ b/man/teamd.8
|
||||
@@ -31,7 +31,7 @@ teamd \(em team network device control daemon
|
||||
.IR address ]
|
||||
.br
|
||||
.B teamd
|
||||
-.BR \-h | \-V
|
||||
+.BR \-h | \-v
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
teamd is a daemon to control a given team network device, during runtime,
|
||||
@@ -44,7 +44,7 @@ libteam project.
|
||||
.B "\-h, \-\-help"
|
||||
Print help text to console and exit.
|
||||
.TP
|
||||
-.B "\-V, \-\-version"
|
||||
+.B "\-v, \-\-version"
|
||||
Print version information to console and exit.
|
||||
.TP
|
||||
.B "\-d, \-\-daemonize"
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
Name: libteam
|
||||
Version: 1.31
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: User-space counterpart library for team network
|
||||
License: LGPLv2+
|
||||
URL: http://www.libteam.org
|
||||
Source: http://www.libteam.org/files/libteam-%{version}.tar.gz
|
||||
|
||||
Patch0: libteam-fix-error-options-in-doc.patch
|
||||
|
||||
BuildRequires: gcc jansson-devel libdaemon-devel libnl3-devel
|
||||
BuildRequires: swig dbus-devel systemd doxygen
|
||||
|
||||
@ -113,6 +115,9 @@ install -p -m 755 utils/bond2team $RPM_BUILD_ROOT%{_bindir}/bond2team
|
||||
%{_mandir}/man8/teamnl.8*
|
||||
|
||||
%changelog
|
||||
* Thu Sep 8 2022 yixiangzhike <yixiangzhike007@163.com> - 1.31-2
|
||||
- fix error options in doc
|
||||
|
||||
* Thu Jan 21 2021 wangchen <wangchen137@huawei.com> - 1.31-1
|
||||
- Update to 1.31
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user