Bug 36794 - mkcatalog help shows wrong default for -c option
Summary: mkcatalog help shows wrong default for -c option
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: shige
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-05 18:40 UTC by Peter Eisentraut
Modified: 2002-06-10 13:54 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Eisentraut 2002-04-05 18:40:01 UTC
The help screen of /usr/local/sbin/mkcatalog (from port textproc/mkcatalog)
shows

        -c filename   specifies top-level catalog file
                      (default: /usr/local/catalog)

The default is in fact /usr/local/share/sgml/catalog.

Fix: 

Suggest changing the help screen to use CAT_DIR and CAT_FILE as defined
earlier in the program.  Watch out that they aren't overwritten by -c
before help is printed.
How-To-Repeat: Enter 'mkcatalog'.
Comment 1 Tetsurou Okazaki freebsd_committer freebsd_triage 2002-06-10 08:41:15 UTC
Responsible Changed
From-To: freebsd-ports->shige

over to MAINTAINER
Comment 2 shige freebsd_committer freebsd_triage 2002-06-10 13:54:12 UTC
State Changed
From-To: open->closed

Committed. Thanks!