gnu-arch-users
[Top][All Lists]
Advanced

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

[Gnu-arch-users] Re: filename issues


From: Miles Bader
Subject: [Gnu-arch-users] Re: filename issues
Date: Tue, 19 Oct 2004 10:06:56 +0900

Thomas Lord <address@hidden> writes:
>       --prefix=/usr/scratch
>
>   The mandatory `=' in that syntax breaks the usual rule that a filename
>   completer can scan backwards for whitespace and count everything back
>   to that point as filename.
>
>   That's why, when I wrote the option parser for package-framework, 
>   I made sure to add support for an alternative syntax:
>
>       --prefix /usr/scratch

GNU getopt has supported the "--option FOO" syntax for long options as
long as I can remember.  I think people tend to write the "=" syntax in
documentation because it's prettier, but both are equally valid in
usage.

-Miles
-- 
`...the Soviet Union was sliding in to an economic collapse so comprehensive
 that in the end its factories produced not goods but bads: finished products
 less valuable than the raw materials they were made from.'  [The Economist]




reply via email to

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