xfs
[Top] [All Lists]

Re: xfsdump and -v or -V?

To: Stephan Austermuehle <au@xxxxxxx>
Subject: Re: xfsdump and -v or -V?
From: Tim Shimmin <tes@xxxxxxx>
Date: Fri, 7 Jun 2002 19:02:10 +1000
Cc: Mike Burger <mburger@xxxxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <20020607103001.A5323@babbage.hcsd.de>; from au@hcsd.de on Fri, Jun 07, 2002 at 10:30:01AM +0200
References: <20020607082509.2FDD84C3032@burgers.bubbanfriends.org> <20020607103001.A5323@babbage.hcsd.de>
Sender: owner-linux-xfs@xxxxxxxxxxx
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
> this.
> 
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 :( )

--Tim


<Prev in Thread] Current Thread [Next in Thread>