Bug 2172613 - Wrong hammer command in "8.3. Setting the Location Context" of Administration guide of Satellite 6.13
Summary: Wrong hammer command in "8.3. Setting the Location Context" of Administration...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Documentation
Version: 6.13.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: Unspecified
Assignee: Adam Lazik
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-22 17:48 UTC by Sayan Das
Modified: 2023-08-03 17:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-03 20:46:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-16089 0 None None None 2023-02-22 17:49:35 UTC

Description Sayan Das 2023-02-22 17:48:27 UTC
Document URL: 

https://dxp-docp-prod.apps.ext-waf.spoke.prod.us-west-2.aws.paas.redhat.com/documentation/en-us/red_hat_satellite/6.13/html-single/administering_red_hat_satellite/index?lb_target=preview

Section Number and Name: 

8.3. Setting the Location Context

Describe the issue: 

We mention this i.e. 

~~
# hammer subscription list \
--location "My_Location"
This command outputs subscriptions allocated for the My_Location.
~~

The command is wrong and so as the statement.

Prove:
~~
# hammer subscription list --location GSS
Error: Unrecognised option '--location'.

See: 'hammer subscription <list|index> --help'.
~~


Suggestions for improvement: 

Make the command:
~~
hammer host list --location "My_Location"
~~

And the text:
~~
This command lists hosts associated with the "My_Location" location.
~~

Or something more appropriate 


Additional information: 

NA

Comment 1 Adam Lazik 2023-02-23 12:44:12 UTC
Hello!

Created PR:  https://github.com/theforeman/foreman-documentation/pull/2021


Note You need to log in before you can comment on or make changes to this bug.