bison-patches
[Top][All Lists]
Advanced

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

Re: main: fix error message for missing argument


From: Paul Eggert
Subject: Re: main: fix error message for missing argument
Date: Sun, 7 Oct 2018 14:40:06 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Akim Demaille wrote:

I confess I’m confused with the way program_name works: sometimes
it’s complete, sometimes it’s the only basename (because getprogname
and program_name are not the same).  So our error messages are
inconsistent.

I confess I've forgotten how all that stuff works, or supposed to.

‘Operand’ sounds a bit weird.  I’d rather use ‘argument’.

The 'operand' terminology is taken from POSIX <http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html>. An operand is an argument that is neither an option nor an option-argument.



reply via email to

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