* [RFC] should --version report the program's true name?
@ 2015-01-11 17:15 Benno Schulenberg
2015-01-12 10:22 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Benno Schulenberg @ 2015-01-11 17:15 UTC (permalink / raw)
To: Util-Linux
$ ln -s setarch foo
$ ./foo --version
foo from util-linux 2.25.634-8501-dirty
But util-linux does not contain any program called "foo":
$ man foo
No manual entry for foo
Shouldn't --version report the name of the original program
instead of the name of the binary? Just like the last line
of the --help output does:
$ ./foo --help | tail -1
For more details see setarch(8).
Benno
--
http://www.fastmail.com - A no graphics, no pop-ups email service
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [RFC] should --version report the program's true name?
2015-01-11 17:15 [RFC] should --version report the program's true name? Benno Schulenberg
@ 2015-01-12 10:22 ` Karel Zak
0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2015-01-12 10:22 UTC (permalink / raw)
To: Benno Schulenberg; +Cc: Util-Linux
On Sun, Jan 11, 2015 at 06:15:01PM +0100, Benno Schulenberg wrote:
>
> $ ln -s setarch foo
echo ".so man8/setarch.8" > foo.8
> $ ./foo --version
> foo from util-linux 2.25.634-8501-dirty
>
> But util-linux does not contain any program called "foo":
>
> $ man foo
> No manual entry for foo
>
> Shouldn't --version report the name of the original program
> instead of the name of the binary? Just like the last line
> of the --help output does:
>
> $ ./foo --help | tail -1
> For more details see setarch(8).
but we usually have man pages for the distributed symlinks :-)
try "man i386"
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-12 10:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-11 17:15 [RFC] should --version report the program's true name? Benno Schulenberg
2015-01-12 10:22 ` Karel Zak
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.