Bug 1427851 - typos in `rhn-satellite-activate -h` output
Summary: typos in `rhn-satellite-activate -h` output
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Other
Version: 580
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Jan Dobes
QA Contact: Dimitar Yordanov
URL:
Whiteboard:
Depends On:
Blocks: sat580-low
TreeView+ depends on / blocked
 
Reported: 2017-03-01 12:12 UTC by Jan Hutař
Modified: 2017-06-21 12:12 UTC (History)
2 users (show)

Fixed In Version: spacewalk-backend-2.5.3-78
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-21 12:12:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2017-03-01 12:12:49 UTC
Description of problem:
There are typos in `rhn-satellite-activate -h` output.


Version-Release number of selected component (if applicable):
5.7.0: spacewalk-backend-tools-2.3.3-42.el6sat.noarch
5.8.0nightly: spacewalk-backend-tools-2.5.3-69.el6sat.noarch


How reproducible:
always


Steps to Reproduce:
1. Check `rhn-satellite-activate -h` output with spell check


Actual results:
Satellite 5.8.0:

# rhn-satellite-activate -h
Usage: rhn-satellite-activate [options]

Options:
  --sanity-only         confirm certificate sanity. Does not activatethe Red
                        Hat Satellite locally or remotely.
  --ignore-expiration   execute regardless of the expirationof the RHN
                        Certificate (not recommended).
  --ignore-version-mismatch
                        execute regardless of version mismatch of existing and
                        new certificate.
  -v, --verbose         be verbose (accumulable: -vvv means "be *really*
                        verbose").
  --dump-version=DUMP_VERSION
                        requested version of XML dump
  --manifest=MANIFEST   the RHSM manifest path/filename to activate for CDN
  --rhn-cert=RHN_CERT   this option is deprecated, use --manifest instead
  --cdn-deactivate      deactivate CDN-activated Satellite
  --disconnected        activate locally, not subscribe to remote repository
  -h, --help            show this help message and exit


Satellite 5.7.0:

# rhn-satellite-activate -h
Usage: rhn-satellite-activate [options]

Options:
  --systemid=SYSTEMID   (FOR TESTING ONLY) alternative systemid path/filename.
                        The system default is used if not specified.
  --rhn-cert=RHN_CERT   new RHN certificate path/filename (default is
                        /etc/sysconfig/rhn/rhn-entitlement-cert.xml - the
                        saved RHN cert).
  --no-ssl              (FOR TESTING ONLY) disables SSL
  --sanity-only         confirm certificate sanity. Does not activatethe Red
                        Hat Satellite locally or remotely.
  --disconnected        activate locally, but not on remote RHN servers,
  --ignore-expiration   execute regardless of the expirationof the RHN
                        Certificate (not recommended).
  --ignore-version-mismatch
                        execute regardless of version mismatch of existing and
                        new certificate.
  -v, --verbose         be verbose (accumulable: -vvv means "be *really*
                        verbose").
  --dump-version=DUMP_VERSION
                        requested version of XML dump
  -h, --help            show this help message and exit


Expected results:
activatethe -> activate the
expirationof -> expiration of
accumulable -> accumulative (at least this is what my spell checker offers, please confirm with some authority)

Comment 2 Jan Dobes 2017-03-06 13:39:19 UTC
fixed in spacewalk master:

1b293178ecc20bd0c6cc318e4e3cc97b53889756

I think accumulable is OK even my spell checkers complain too.

https://en.wiktionary.org/wiki/accumulable

Also it's used in multiple tools already:

$ git grep -l accumulable
backend/satellite_tools/rhn-satellite-activate.sgml
backend/satellite_tools/rhn-ssl-dbstore.sgml
backend/satellite_tools/rhn_satellite_activate.py
backend/satellite_tools/rhn_ssl_dbstore.py
spacewalk/certs-tools/rhn_bootstrap.py


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