Bug 1722404

Summary: cscope-indexer - displays help for "cd"
Product: Red Hat Enterprise Linux 8 Reporter: Branislav Náter <bnater>
Component: cscopeAssignee: Neil Horman <nhorman>
Status: CLOSED ERRATA QA Contact: Branislav Náter <bnater>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: core-kernel-mgr, vdronov
Target Milestone: rc   
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 21:03:55 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: 1671421    
Attachments:
Description Flags
cscope-indexer with help option none

Description Branislav Náter 2019-06-20 09:18:45 UTC
Description of problem:
Binary cscope-indexer is part of cscope package. I wanted to find out what is it for but it has not man page, it's not mentioned in cscope man page and when run with "-h" or "--help" it displays help for cd command.

Please add manpage or usable help.

Version-Release number of selected component (if applicable):
cscope-15.9-4.el8

How reproducible:


Steps to Reproduce:
1. cscope-indexer -h
2. cscope-indexer --help

Actual results:
1. /usr/bin/cscope-indexer: line 120: cd: -h: invalid option
cd: usage: cd [-L|[-P [-e]] [-@]] [dir]

1. cd: cd [-L|[-P [-e]] [-@]] [dir]
    Change the shell working directory.
    
    Change the current directory to DIR.  The default DIR is the value of the
    HOME shell variable.
<snip>


Expected results:
help for cscope-indexer is displayed.

Comment 1 Neil Horman 2019-06-20 11:06:23 UTC
cscope-indexer is really only meant to be used by the xcscope.el emacs module, but sure, we can add a help option.  Note however, that running cscope -R achieves the same results.

Comment 2 Neil Horman 2019-06-20 11:09:40 UTC
Created attachment 1582614 [details]
cscope-indexer with help option

hows this?

Comment 4 Neil Horman 2019-06-24 20:07:22 UTC
gah, this missed 8.1, and I'm not able to file an errata for it.  Moving to 8.2

Comment 9 errata-xmlrpc 2019-11-05 21:03:55 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://access.redhat.com/errata/RHBA-2019:3409