On Fri, Jun 07, 2002 at 10:30:01AM +0200, Stephan Austermuehle wrote:
> On Fri, Jun 07, 2002 at 04:25:09AM -0400, Mike Burger wrote:
> > "xfsdump --help" or "--xfrestore --help"
> > The first line gives you the version, and then the usage follows.
> Yes, thanks for the hint. Nevertheless I think that a separate version
> flag is better because one doesn't have to look through the tons of
> lines generated with --help. It's very little effort to implement
NOTE that xfsdump -h currently reports the dump format version
which doesn't match with the program VERSION number.
It will soon output both version numbers.
xfsdump/restore are currently overloaded with options.
There is no plan to support long options.
=> no separate version# option
(BTW, the getopt handling in xfsdump is more complicated
than one might think :( )