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 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:
pm-rhel: mirror+


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.