Bug 700918 - CLI inconsistencies in `pulp-admin repo --help`
Summary: CLI inconsistencies in `pulp-admin repo --help`
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Sprint 23
Assignee: Sayli Karmarkar
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-04-29 19:37 UTC by Jay Dobies
Modified: 2015-03-23 01:10 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:09:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Jay Dobies 2011-04-29 19:37:24 UTC
[root@pulp ~]# pulp-admin repo
Usage: pulp-admin <options> repo <action> <options>
Supported Actions:
	list           list available repositories
	status         show the status of a repository
	content        list the contents of a repository
	create         create a repository      
	clone          clone a repository       
	delete         delete a repository      
	update         update a repository      
	sync           synchronize data to a repository from its feed
	cancel_sync    cancel a running sync    
	listkeys       list gpg keys            
	publish        enable/disable repository being published by apache
	add_package    Add package to a repository.
	remove_package Remove package from the repository.
	add_errata     Add errata to a repository
	remove_errata  Remove errata from the repository
	add_file       Add file to a repository.
	remove_file    Remove file from a repository.
	add_filters    add filters to a repository
	remove_filters remove filters from a repository
	metadata       Schedule a Metadata generation for a repository

Small fixes:
- Make sure all descriptions start with a lower case letter
- Remove the trailing periods from the package and file related ones
- Make the 'M' in "metadata" lowercase, it's not a proper noun
- listkeys is the only multi-word command that doesn't have an underscore separating the words

Comment 1 Sayli Karmarkar 2011-05-05 16:44:32 UTC
Fixed.

$ pulp-admin repo


Usage: pulp-admin <options> repo <action> <options>
Supported Actions:
	list           list available repositories
	status         show the status of a repository
	content        list the contents of a repository
	create         create a repository      
	clone          clone a repository       
	delete         delete a repository      
	update         update a repository      
	sync           synchronize data to a repository from its feed
	cancel_sync    cancel a running sync    
	list_keys      list gpg keys            
	publish        enable/disable repository being published by apache
	add_package    add package to a repository
	remove_package remove package from the repository
	add_errata     add errata to a repository
	remove_errata  remove errata from the repository
	add_file       add file to a repository 
	remove_file    remove file from a repository
	add_filters    add filters to a repository
	remove_filters remove filters from a repository
	metadata       schedule metadata generation for a repository
	discovery      discover and create repositories

pulp-admin: error: no action given: please see --help

Comment 2 Jeff Ortel 2011-05-09 22:25:19 UTC
build 0.174

Comment 3 Preethi Thomas 2011-05-11 20:08:29 UTC
[root@preethi ~]# rpm -q pulp
pulp-0.0.174-1.fc14.noarch
[root@preethi ~]# 
[root@preethi ~]# 
[root@preethi ~]# pulp-admin repo
Usage: pulp-admin <options> repo <action> <options>
Supported Actions:
	list           list available repositories
	status         show the status of a repository
	content        list the contents of a repository
	create         create a repository      
	clone          clone a repository       
	delete         delete a repository      
	update         update a repository      
	sync           synchronize data to a repository from its feed
	cancel_sync    cancel a running sync    
	list_keys      list gpg keys            
	publish        enable/disable repository being published by apache
	add_package    add package to a repository
	remove_package remove package from the repository
	add_errata     add errata to a repository
	remove_errata  remove errata from the repository
	add_file       add file to a repository 
	remove_file    remove file from a repository
	add_filters    add filters to a repository
	remove_filters remove filters from a repository
	metadata       schedule metadata generation for a repository
	discovery      discover and create repositories

pulp-admin: error: no action given: please see --help

Comment 4 Preethi Thomas 2011-08-16 12:09:32 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 5 Preethi Thomas 2011-08-16 12:21:59 UTC
Closing with Community Release 15

pulp-0.0.223-4.


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