Bug 636842

Summary: repo stauts --help does not follow the same format as the --help for all the other options
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: whayutin
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-17 16:52:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 647488    

Description Preethi Thomas 2010-09-23 13:18:29 UTC
Description of problem:


The format for repo staus --help is 

[root@preethi ~]# pulp-admin repo status --help
Usage: pulp-admin -u <username> -p <password> repo [OPTIONS]
Supported Actions:
        cancel_sync    Cancel a running sync    
        create         Create a repo            
        delete         Delete a repo            
        list           List available repos     
        schedules      List all repo schedules  
        status         Show the status of a repo
        sync           Sync data to this repo from the feed
        update         Update a repo            
        upload         Upload package(s) to this repo


Options:
  -h, --help            show this help message and exit
  --id=ID               Repository Id
  -u USERNAME, --username=USERNAME
                        username for access to Pulp.  Default user admin is
                        included with base install.
  -p PASSWORD, --password=PASSWORD
                        password for access to Pulp.


But other CLI options follow the format 


[root@preethi ~]# pulp-admin repo sync --help
Usage: pulp-admin -u <username> -p <password> repo sync [OPTIONS]


Options:
  -h, --help            show this help message and exit
  --id=ID               Repository Id
  --timeout=TIMEOUT     Sync Timeout
  -F, --foreground      Sync repo in the foreground
  -u USERNAME, --username=USERNAME
                        username for access to Pulp.  Default user admin is
                        included with base install.
  -p PASSWORD, --password=PASSWORD
                        password for access to Pulp.
[root@preethi ~]# pulp-admin repo list --help
Usage: pulp-admin -u <username> -p <password> repo list [OPTIONS]


Options:
  -h, --help            show this help message and exit
  --groupid=GROUPID     Filter repos by group id
  -u USERNAME, --username=USERNAME
                        username for access to Pulp.  Default user admin is
                        included with base install.
  -p PASSWORD, --password=PASSWORD
                        password for access to Pulp.

Comment 1 Pradeep Kilambi 2010-10-27 20:11:08 UTC
should show the same now

$ sudo pulp-admin repo status --help
Usage: pulp-admin <options> repo status <options>

Options:
  -h, --help  show this help message and exit
  --id=ID     repository id (required)

$ sudo  pulp-admin repo sync --help
Usage: pulp-admin <options> repo sync <options>

Options:
  -h, --help         show this help message and exit
  --id=ID            repository id (required)
  --timeout=TIMEOUT  synchronization timeout
  -F, --foreground   synchronize repository in the foreground

Comment 2 Jay Dobies 2010-10-29 16:58:32 UTC
Fixed in 0.77.

Comment 3 Jay Dobies 2010-11-03 19:35:36 UTC
Fixed in build 0.78.

Comment 4 Preethi Thomas 2010-11-04 18:23:43 UTC
verified

[root@preethi ~]# pulp-admin repo status --help
Usage: pulp-admin <options> repo status <options>

Options:
  -h, --help  show this help message and exit
  --id=ID     repository id (required)
[root@preethi ~]# pulp-admin repo list --help
Usage: pulp-admin <options> repo list <options>

Options:
  -h, --help         show this help message and exit
  --groupid=GROUPID  filter repositories by group id
[root@preethi ~]# pulp-admin repo sync --help
Usage: pulp-admin <options> repo sync <options>

Options:
  -h, --help         show this help message and exit
  --id=ID            repository id (required)
  --timeout=TIMEOUT  synchronization timeout
  -F, --foreground   synchronize repository in the foreground

Comment 5 Preethi Thomas 2011-02-17 16:52:22 UTC
Closing with community release 

pulp-0.0.139-1.fc14.noarch