On 1/18/06, Charles Marcus <[EMAIL PROTECTED]> wrote:
> This may be the ultimate dumb question, but no amount of googling could
> satisfy my ignorance...
>
> Is there any difference? If not, why are the double hyphens almost
> always specified?
-- is the GNU getopt syntax for long options. For normal GNU programs:
--opt is processed as a single option ("opt")
-opt is processed as 6 options ('o', 'p', and 't').
--sync is correct. -sync is wrong and generates an error. "sync"
also works, but only because portage specifically looks for it.
-Richard
--
[email protected] mailing list