Bug 970939 - Should show the usage of all options for oo-auto-idler
Should show the usage of all options for oo-auto-idler
Status: CLOSED CURRENTRELEASE
Product: OpenShift Online
Classification: Red Hat
Component: Containers (Show other bugs)
2.x
Unspecified Unspecified
low Severity medium
: ---
: ---
Assigned To: Mrunal Patel
libra bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-05 05:32 EDT by Meng Bo
Modified: 2015-05-14 19:20 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-08-29 08:47:39 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Meng Bo 2013-06-05 05:32:28 EDT
Description of problem:
Run "oo-auto-idler help" on the node to get the command usage.

Missing some options in the help contents.
--interval
--list

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

How reproducible:
always

Steps to Reproduce:
1.Login to the node
2.Run "oo-auto-idler help"
3.

Actual results:
# oo-auto-idler help
  NAME:

    ["OpenShift Auto Idler"]

  DESCRIPTION:

    ["Utility to idle gears"]

  COMMANDS:
	
    help                 Display global or [command] help documentation.		
    idle                 List the gears ready to be idled	

  GLOBAL OPTIONS:
	
    -h, --help 
        Display help documentation
	
    -v, --version 
        Display version information
	
    -t, --trace 
        Display backtrace when an error occurs
	


Expected results:
Should have the usage about all options, like
--interval
--list

Additional info:
Comment 1 Mrunal Patel 2013-08-15 17:51:12 EDT
https://github.com/openshift/origin-server/pull/3381

One can use "oo-auto-idler help idle" to list the options for idle command.
Comment 2 chunchen 2013-08-16 07:59:52 EDT
It's fixed, verified on devenv_3660, please refer to the following results:

# oo-auto-idler help idle

  NAME:

    idle

  DESCRIPTION:

    List the gears ready to be idled

  SYNOPSIS:

    /usr/sbin/oo-auto-idler idle [options]

  OPTIONS:
	
    --interval HOURS 
        Hours for which gears have been idle
	
    --list 
        Only list the stale gears
	
    --verbose 
        Print debug information

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