bug-hello
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: argv[0] for program name


From: Karl Berry
Subject: Re: argv[0] for program name
Date: Mon, 6 Aug 2007 16:34:43 -0500

Hi Liran,

    The program's name is taken from argv[0] wheras in part 4.7.1 of The
    GNU coding standards, It's written not to do that.

That node in the standards is talking specifically about the output of
--version, and indeed, GNU Hello does not use the computed program_name
in its --version output.  It's ok, in fact desirable and preferable, to
use argv[0] in error messages, and that's what Hello does.

So I think it's ok.

Thanks for writing,
karl





reply via email to

[Prev in Thread] Current Thread [Next in Thread]