1 |
On 1/18/06, Charles Marcus <cmarcus@×××××××××××××.com> wrote: |
2 |
> This may be the ultimate dumb question, but no amount of googling could |
3 |
> satisfy my ignorance... |
4 |
> |
5 |
> Is there any difference? If not, why are the double hyphens almost |
6 |
> always specified? |
7 |
|
8 |
-- is the GNU getopt syntax for long options. For normal GNU programs: |
9 |
|
10 |
--opt is processed as a single option ("opt") |
11 |
-opt is processed as 6 options ('o', 'p', and 't'). |
12 |
|
13 |
--sync is correct. -sync is wrong and generates an error. "sync" |
14 |
also works, but only because portage specifically looks for it. |
15 |
|
16 |
-Richard |
17 |
|
18 |
-- |
19 |
gentoo-user@g.o mailing list |