Project

General

Profile

Actions

Bug #5983

closed

hammer organization delete do not accept --id argument

Added by Adam Price about 10 years ago. Updated almost 6 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1096241
Description of problem:
When trying to delete an organization by its ID the hammer organization delete command does not accept the --id argument.

Version-Release number of selected component (if applicable):
  1. hammer --version
    hammer (0.1.0) * hammer_cli_foreman (0.1.0) * hammer_cli_katello (0.0.3)

How reproducible:
Aways

Steps to Reproduce:
1. hammer organization delete --id=<an_org_id>

Actual results:
The command fail with the following error: Error: Unrecognised option '--id'

Expected results:
The command should accept the --id argument and delete the organization.

Additional info:
The --id argument is not listed on the expected arguments.

  1. hammer organization delete -h
    Usage:
    hammer organization delete [OPTIONS]

Options:
--label LABEL Label to search by
--name NAME Name to search by
-h, --help print help

Actions

Also available in: Atom PDF