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 )
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 , 16 years ago
| Component: | build → misc |
|---|---|
| Description: | modified (diff) |
| Owner: | changed from to |
| Priority: | high → low |
| Status: | new → assigned |
