[Linuxtrent] Re: output di --help e simili

Luca Manini wrote:
> secondo voi, l'output di "help" o di "usage" va scritto sullo stdout o
> sullo stderr?

Su stdout, per le ragioni che esponi. Una volta anche tar (o forse
diff?) lo mandava su stderr ed era una gran rottura.

BTW,
http://www.gnu.org/prep/standards/html_node/Command_002dLine-Interfaces.html
"All programs should support two standard options: â--versionâ and
â--helpâ. [...] --help [...] should output brief documentation for how
to invoke the program, on standard output, then exit successfully."

Vedere anche
http://lists.debian.org/debian-devel/2005/02/msg00672.html
(ed il thread che ne segue)

-- 
Ciao, Flavio
-- 
Per iscriversi  (o disiscriversi), basta spedire un  messaggio con OGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


Other related posts: