IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 18 years ago

Last modified 16 years ago

#1083 assigned enhancement

Request for option to show version to generate help for all command line tools

Reported by: Michael Wood-Vasey Owned by: eugene
Priority: low Milestone:
Component: misc Version: unspecified
Severity: minor Keywords:
Cc:

Description (last modified by eugene)

It would be useful for all IPP and PsLib (and other software under "our" control) to report the version information and help information. E.g.,

addstar -v
addstar --version

prints the version number (and possibly other relevant version/compilation-related information) to STDOUT and exits.

addstar -h
addstar --help

For example:

[wwoodvas@calm] gcc --version
powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The choice of the exact option specification is up to system standardization. E.g., perhaps double - options such as --version are not supported by choice.

P.S. I had to choose some component to submit this bug report, but really this applies to all of PSLib and all of IPP software.

Change History (1)

comment:1 by eugene, 16 years ago

Component: buildmisc
Description: modified (diff)
Owner: changed from Paul Price to eugene
Priority: highlow
Status: newassigned
Note: See TracTickets for help on using tickets.