fix error options in doc

Signed-off-by: yixiangzhike <yixiangzhike007@163.com>
This commit is contained in:
yixiangzhike 2022-09-09 08:54:47 +08:00
parent 8da2dae04f
commit d61b1150f8
2 changed files with 40 additions and 1 deletions

View 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

View File

@ -1,11 +1,13 @@
Name: libteam
Version: 1.30
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 python2-devel dbus-devel systemd doxygen
@ -136,6 +138,9 @@ popd
%{_mandir}/man8/teamnl.8*
%changelog
* Fri Sep 9 2022 yixiangzhike <yixiangzhike007@163.com> - 1.30-2
- fix error options in doc
* Tue Aug 04 2020 shanzhikun <shanzhikun@huawei.com> - 1.30-1
- upgrade libteam to 1.30.