Util-Linux package development
 help / color / mirror / Atom feed
* [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

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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox