Project

General

Profile

Bug #20613

Updated by Tomáš Strachota over 7 years ago

Description of problem: 

 Update the help description for "--sync-date" option in hammer. 

 *How reproducible:* 
 How reproducible: 

 Always 

 *Steps Steps to Reproduce:* Reproduce: 
 1. hammer sync-plan create --help 
 2. Check the help summary of '--sync-date'  

 <pre>  
 ~~~ 
 start date and time of the synchronization defaults to now                                               
 Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format 
 </pre> ~~~ 

 The customer thinks this description is confusing. The customer tried the following command to create sync plan thinking that the --sync-date option is not required as help says "--sync-date will default to now." 

 <pre> 
 # hammer --password secret sync-plan create --organization test --name "RedHat Software collections synch" --description "A synch plan for RHSC" --enabled True --interval "weekly" 
 </pre> 

 It returns: 
 <pre> 
       Could not create the sync plan: 
         Missing arguments for 'sync_date' 
 </pre> 

 *Expected:* Expected - 

 Change this help with some simple summary? I think the following line in help will be enough. 

 <pre> 
 ~~~ 
 Provide Date and time in YYYY-MM-DD HH:MM:SS or in ISO 8601 format 
 </pre> 
 ~~~

Back