- update zdump(8) man page to match current zdump usage (#517309)

This commit is contained in:
Peter Schiffer 2012-09-18 14:07:08 +02:00
parent 2d3edddddf
commit a5e4b16177
2 changed files with 51 additions and 1 deletions

View File

@ -0,0 +1,46 @@
diff -ur man-pages-3.42.orig/man8/zdump.8 man-pages-3.42/man8/zdump.8
--- man-pages-3.42.orig/man8/zdump.8 2012-08-14 00:39:40.000000000 +0200
+++ man-pages-3.42/man8/zdump.8 2012-09-18 13:21:47.745750940 +0200
@@ -6,10 +6,14 @@
.SH SYNOPSIS
.B zdump
[
+.B \-\-version
+] [
+.B \-\-help
+] [
.B \-v
] [
.B \-c
-cutoffyear ] [ zonename ... ]
+[loyear,]hiyear ] [ zonename ... ]
.SH DESCRIPTION
.I Zdump
prints the current time in each
@@ -18,6 +22,12 @@
.PP
These options are available:
.TP
+.B \-\-version
+Output version information and exit.
+.TP
+.B \-\-help
+Output short usage and exit.
+.TP
.B \-v
For each
.I zonename
@@ -34,8 +44,11 @@
.B isdst=0
otherwise.
.TP
-.BI "\-c " cutoffyear
-Cut off the verbose output near the start of the given year.
+.BI "\-c " [loyear,]hiyear
+Cut off the verbose output near the start of the given year(s).
+The output still includes the lowest possible time value
+and one day after it, and the highest possible time value
+preceded by the time value one day before it.
.SH "SEE ALSO"
.BR tzfile (5),
.BR zic (8)

View File

@ -61,6 +61,8 @@ Patch53: man-pages-3.42-getdents.patch
Patch54: man-pages-3.42-close.patch
# resolves: #497197
Patch55: man-pages-3.42-proc-file-nr.patch
# resolves: #517309
Patch56: man-pages-3.42-zdump.patch
Autoreq: false
@ -98,6 +100,7 @@ Documentation Project (LDP).
%patch53 -p1
%patch54 -p1
%patch55 -p1
%patch56 -p1
## Remove man pages we are not going to use ##
@ -159,7 +162,7 @@ cd ..
%lang(en) %{_mandir}/en/man*/*
%changelog
* Thu Sep 13 2012 Peter Schiffer <pschiffe@redhat.com> - 3.42-1
* Tue Sep 18 2012 Peter Schiffer <pschiffe@redhat.com> - 3.42-1
- resolves: #847941
update to 3.42
- updated additional man pages
@ -178,6 +181,7 @@ cd ..
- removed man-pages-3.22-sched_setaffinity.patch because the problem it describes was fixed in the kernel. see #533811 for more info
- document why to use shutdown() before close() when dealing with sockets on close(2) man page (#650985)
- update description of /proc/sys/fs/file-nr file in proc(5) man page (#497197)
- update zdump(8) man page to match current zdump usage (#517309)
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.41-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild