Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge --sync vs emerge -sync
Date: Wed, 18 Jan 2006 21:55:15
Message-Id: 7573e9640601181346q37bcecf4t1015344bea79a897@mail.gmail.com
In Reply to: [gentoo-user] emerge --sync vs emerge -sync by Charles Marcus
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

Replies

Subject Author
Re: [gentoo-user] emerge --sync vs emerge -sync Richard Fish <bigfish@××××××××××.org>
[gentoo-user] Re: emerge --sync vs emerge -sync Charles Marcus <cmarcus@×××××××××××××.com>