Bug 990927 - Incorrect time format of examples in oo-admin-usage man page.
Summary: Incorrect time format of examples in oo-admin-usage man page.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-01 08:37 UTC by Liang Xia
Modified: 2015-05-15 00:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-29 12:49:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Liang Xia 2013-08-01 08:37:58 UTC
Description of problem:
oo-admin-usage allows -s|--start|-e|--end timeframe, which should be in format yyyy-mm-dd, but the examples show:
$ oo-admin-usage -l bob -s 1360790232 -e 136079383

Version-Release number of selected component (if applicable):
devenv_3598

How reproducible:
always

Steps to Reproduce:
1.check the man page of oo-admin-usage
2.
3.

Actual results:
The example show:
$ oo-admin-usage -l bob -s 1360790232 -e 136079383

Expected results:
Time frame should be in format yyyy-mm-dd

Additional info:

Comment 1 Abhishek Gupta 2013-08-13 20:24:59 UTC
Fixed in --> https://github.com/openshift/origin-server/pull/3345

Comment 3 Liang Xia 2013-08-14 02:17:51 UTC
Verfied on devenv_3646, the time format defect has been fixed.
$ oo-admin-usage -l bob -s 2013-08-01 -e 2013-08-15

But move back to assigned as another small typo was caused by this fix.

The dot between oo-admin-usage and (8) is not needed:
oo-admin-usage.(8)                                          oo-admin-usage.(8)


Code change caused this is:
-.TH oo-admin-usage 8 "11 April 2013" "" ""
+.TH oo-admin-usage. 8 "13 August 2013" "" ""

Comment 5 Abhishek Gupta 2013-08-14 18:25:17 UTC
Was a typo in the txt2man command that I used to generate the file.

Fixed with --> https://github.com/openshift/origin-server/pull/3357

Comment 6 Jianwei Hou 2013-08-15 04:06:43 UTC
Verified on devenv_3653
Checked man page, it's updated as:

      List the usage for the user within a specified timeframe:

           $ oo-admin-usage -l bob -s 2013-08-01 -e 2013-08-15

...............
AUTHOR
       Adam Miller <admiller> - man page written for OpenShift Origin

                                14 August 2013               oo-admin-usage(8)


Note You need to log in before you can comment on or make changes to this bug.