Bug 636842 - repo stauts --help does not follow the same format as the --help for all the other options
Summary: repo stauts --help does not follow the same format as the --help for all the...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2010-09-23 13:18 UTC by Preethi Thomas
Modified: 2011-07-15 19:32 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-17 16:52:22 UTC
Embargoed:


Attachments (Terms of Use)

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


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