Bug 990927

Summary: Incorrect time format of examples in oo-admin-usage man page.
Product: OpenShift Online Reporter: Liang Xia <lxia>
Component: PodAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 2.xCC: jhou
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-29 12:49:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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)