Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1218377

Summary: man page SYNOPSIS for rhn-migrate-classic-to-rhsm is missing the new --keep option
Product: Red Hat Enterprise Linux 6 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: Chris "Ceiu" Rog <crog>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.7CC: bkearney, crog, skallesh, wpoteat
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-22 06:54:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1125249    

Description John Sefler 2015-05-04 18:16:19 UTC
Description of problem:

1. Missing new option [--keep] in SYNOPSIS
2. typo in SYNOPSIS option for [-destination-user]; missing leading dash


Version-Release number of selected component (if applicable):
[root@jsefler-os6 ~]# rpm -q subscription-manager-migration
subscription-manager-migration-1.14.6-1.el6.x86_64


How reproducible:


Steps to Reproduce:

[root@jsefler-os6 ~]# man rhn-migrate-classic-to-rhsm

rhn-migrate-classic-to-rhsm(8)                  rhn-migrate-classic-to-rhsm(8)

NAME
       rhn-migrate-classic-to-rhsm  -  Migrates  a system profile from Red Hat
       Network Classic  Hosted  to  Customer  Portal  Subscription  Management
       (hosted) or Subscription Asset Manager (on-premise).

SYNOPSIS
       rhn-migrate-classic-to-rhsm   [--force]   |   [--no-auto]   |   [--ser-
       vicelevel=SERVICE_LEVEL]   |   [--destination-url=URL]   |   [--legacy-
       user=LEGACY_USER]  |  [--legacy-password=LEGACY_PASSWORD]  | [-destina-
       tion-user=DESTINATION_USER] | [--destination-password=DESTINATION_PASS-
       WORD]   |  [--org=ORG]  |  [--environment=ENVIRONMENT]  |  [--no-proxy]
       [--activation-key=ACTIVATION_KEY] | [--help]

<...cut...>


Actual results:
above

Expected results:
1. SYNOPSIS should include new [--keep] option
2. missing the leading dash in option [-destination-user=DESTINATION_USER]

Comment 1 Chris "Ceiu" Rog 2015-05-05 16:01:27 UTC
commit 98eb1a4da86d5eb46725ee98ed523180634f839c
Author: Chris Rog <crog>
Date:   Mon May 4 14:38:53 2015 -0400

    Added missing option to the migration manual page
    
    - The --keep option has been added to the synopsis line in the man
      page for rhn-migrate-classic-to-rhsm
    - Added a missing hyphen for the destination-user option in the
      synopsis

Comment 3 Shwetha Kallesh 2015-05-20 08:43:53 UTC
Synopsis of the man page has been updated with --keep option and leading dash has been added to destination-user option.

[root@cisco-c210-01 ~]# rpm -qa | grep subscription-manager
subscription-manager-migration-1.14.7-1.el6.x86_64
subscription-manager-1.14.7-1.el6.x86_64

[root@cisco-c210-01 ~]# man rhn-migrate-classic-to-rhsm


  rhn-migrate-classic-to-rhsm  [--force]  |  [--no-auto]  [--keep]  |  [--servicelevel=SERVICE_LEVEL]  |  [--destination-url=URL]   |   [--legacy-
       user=LEGACY_USER]  | [--legacy-password=LEGACY_PASSWORD] | [--destination-user=DESTINATION_USER] | [--destination-password=DESTINATION_PASSWORD]
       | [--org=ORG] | [--environment=ENVIRONMENT] | [--no-proxy] [--activation-key=ACTIVATION_KEY] | [--help]

       --keep Leaves the system profile on the legacy system.  Normally the system profile on the legacy system is deleted.

Comment 4 errata-xmlrpc 2015-07-22 06:54:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1345.html