From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1EzLGt-0001g4-FT for garchives@archives.gentoo.org; Wed, 18 Jan 2006 21:55:15 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k0ILoA40009948; Wed, 18 Jan 2006 21:50:10 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.203]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k0ILk7rN032409 for <gentoo-user@lists.gentoo.org>; Wed, 18 Jan 2006 21:46:08 GMT Received: by wproxy.gmail.com with SMTP id i24so50502wra for <gentoo-user@lists.gentoo.org>; Wed, 18 Jan 2006 13:46:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SFjkJFthvpTtAwiyIASon3tp4s0jqaoBxnmfIpWVKkVjj1qIf/gxsyyMgpJ9iWjpsn7EquwOiV9eQV0DWrCLUfK1pRHYqwc6HJ7OJ06PKbwfe9HjA4uijesxK6rEx3XBivQVp9DOR5F3ze6qNYp4Il0s3uUEL+OqhoRmxXNS4yI= Received: by 10.54.70.19 with SMTP id s19mr8392708wra; Wed, 18 Jan 2006 13:46:02 -0800 (PST) Received: by 10.54.66.12 with HTTP; Wed, 18 Jan 2006 13:46:02 -0800 (PST) Message-ID: <7573e9640601181346q37bcecf4t1015344bea79a897@mail.gmail.com> Date: Wed, 18 Jan 2006 14:46:02 -0700 From: Richard Fish <bigfish@asmallpond.org> Sender: richard.j.fish@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] emerge --sync vs emerge -sync In-Reply-To: <dqmb73$41v$1@sea.gmane.org> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <dqmb73$41v$1@sea.gmane.org> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k0ILk7rN032409 X-Archives-Salt: c4b3fea9-aa3c-4b08-8584-96d4b80e609b X-Archives-Hash: 6c9161676ee37af066fe6db0727f60a6 On 1/18/06, Charles Marcus <cmarcus@media-brokers.com> 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 -- gentoo-user@gentoo.org mailing list