gnokii-users
[Top][All Lists]
Advanced

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

Re: [PATCH] Beautify usage messages


From: carstengrohmann
Subject: Re: [PATCH] Beautify usage messages
Date: Thu, 01 Oct 2009 09:28:14 +0200

> > the attached patch prettifies some usage messages by a common schema for
> > option arguments. It changes "option argument" to "<option argument>".
> 
> what's the name of this schema?
> isn't it ambiguos to use < and > which have another meaning in the shell?

Changing the schema of options and arguments doesn't have any effect to the 
shell, because the usage message will be shown only and won't interpreted by 
any shell.

I did some research into standards / guidelines for usage messages and found 
two documents:
 - Metasyntax (http://en.wikipedia.org/wiki/Metasyntax)
 - Posix "Utility Argument Syntax" 
(http://www.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html)

The current syntax (not the discussed patch) is Posix compliant. The style with 
angle brackets are more like GNU.

Please ignore the patch

Regards,
Carsten
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01




reply via email to

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