[gentoo-user] Re: emerge --sync vs emerge -sync

2006-01-19 Thread Charles Marcus
Richard Fish wrote: 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 o

[gentoo-user] Re: emerge --sync vs emerge -sync

2006-01-19 Thread Charles Marcus
-opt is processed as 6 options ('o', 'p', and 't'). s/6/3/g eh? -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Re: emerge --sync vs emerge -sync

2006-01-19 Thread Richard Fish
On 1/19/06, Charles Marcus <[EMAIL PROTECTED]> wrote: > > --sync is correct. -sync is wrong and generates an error. > > Ahem... not for me it didn't... thats why I asked - wondered if I may What versions of portage & python (emerge -pv portage python)? -Richard -- gentoo-user@gentoo.org mailin

Re: [gentoo-user] Re: emerge --sync vs emerge -sync

2006-01-19 Thread Richard Fish
On 1/19/06, Charles Marcus <[EMAIL PROTECTED]> wrote: > >> -opt is processed as 6 options ('o', 'p', and 't'). > > > s/6/3/g > > eh? It is 'sed' syntax. In english: replace all ocurrences of the pattern '6' with the string '3'. -Richard -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Re: emerge --sync vs emerge -sync

2006-01-19 Thread Michael A. Smith
Charles Marcus wrote: Richard Fish wrote: 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 GN

Re: [gentoo-user] Re: emerge --sync vs emerge -sync

2006-01-19 Thread Neil Bothwick
On Thu, 19 Jan 2006 13:39:48 -0500, Michael A. Smith wrote: > > Now, why did it not generate an error for me, I wonder? > > Maybe you're thinking of emerge sync: > $ emerge -sync > !!! Error: -y is an invalid short action or option. Same here. "emerge -sync" is the same as "emerge -s -y -n -c".