Bug 1722404 - cscope-indexer - displays help for "cd"
Summary: cscope-indexer - displays help for "cd"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cscope
Version: 8.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.1
Assignee: Neil Horman
QA Contact: Branislav Náter
URL:
Whiteboard:
Depends On:
Blocks: 1671421
TreeView+ depends on / blocked
 
Reported: 2019-06-20 09:18 UTC by Branislav Náter
Modified: 2023-08-08 02:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 21:03:55 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
cscope-indexer with help option (4.42 KB, application/x-shellscript)
2019-06-20 11:09 UTC, Neil Horman
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-23332 0 None None None 2023-08-08 02:50:08 UTC
Red Hat Product Errata RHBA-2019:3409 0 None None None 2019-11-05 21:03:57 UTC

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


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