Bug 700918

Summary: CLI inconsistencies in `pulp-admin repo --help`
Product: [Retired] Pulp Reporter: Jay Dobies <jason.dobies>
Component: z_otherAssignee: Sayli Karmarkar <skarmark>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: cperry, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: Sprint 23   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 12:09:32 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 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.