Try "xfsrestore --help | more", which puts the version on the last line. For
some odd reason "xfsrestore --help" puts the version at the top of the help
screen but, "xfsrestore --help | more" puts it on the last line, obviating
the need to "look through the tons of lines generated with --help". Maybe
these SGI programmers are deceptively good at user interface design :), as
well as at engineering this really high-performance filesystem.
Murthy
> -----Original Message-----
> From: Stephan Austermuehle [mailto:au@xxxxxxx]
> Sent: Friday, June 07, 2002 04:30
> To: Mike Burger
> Subject: Re: xfsdump and -v or -V?
>
>
> 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.
>
> Stephan
>
|