Project

General

Profile

Actions

Bug #20613

closed

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

Added by Ashish Humbe over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

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

How reproducible:
Always

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

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

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."

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

It returns:

      Could not create the sync plan:
        Missing arguments for 'sync_date'

Expected:

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

Provide Date and time in YYYY-MM-DD HH:MM:SS or in ISO 8601 format
Actions #1

Updated by Kavita Gaikwad over 6 years ago

  • Pull request https://github.com/Katello/hammer-cli-katello/pull/504 added
Actions #2

Updated by Tomáš Strachota over 6 years ago

  • Project changed from Hammer CLI to Katello
  • Description updated (diff)
  • Category changed from Hammer core to Hammer

Thansk you for reporting the bug. Since the sync-plan command comes from hammer-cli-katello I'm moving it to project Katello, category Hammer where we track issues form that plugin.

Actions #3

Updated by Ashish Humbe over 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Eric Helms over 6 years ago

  • translation missing: en.field_release set to 250
Actions

Also available in: Atom PDF