Revision 50f96bd5
Added by dustin tsang almost 10 years ago
lib/hammer_cli_katello/product.rb | ||
---|---|---|
resource :products, :update
|
||
|
||
build_options :without => [:name, :label, :provider_id, :description, :gpg_key_id]
|
||
# TODO: set to --sync-plan-id
|
||
option "--sync_plan_id", "SYNC_PLAN_ID", _("plan numeric identifier"),
|
||
:attribute_name => :option_sync_plan_id, :required => true
|
||
end
|
||
|
||
class RemoveSyncPlanCommand < HammerCLIKatello::UpdateCommand
|
Also available in: Unified diff
Fixes #7076 - product sync-plan-id option twice
This fixes an issue where the sync-plan-id option is displayed twice in
the helpful texts for the product set-sync-plan, remove-sync-plan
commands.