X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id C3456DC0212 for ; Sat, 5 Jul 2014 01:16:11 +0000 (UTC) Received: by mail-pd0-f177.google.com with SMTP id y10so2504347pdj.8 for ; Fri, 04 Jul 2014 18:16:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=NImI/DGsYEAJ5LUzrQDMUo8DIDRtJhPfwUH16f+LsdI=; b=IB5P+A30t6Z90rzC4wzy9Bp5LR4997qibZpj2D/Edx+OJNqb9WSoltULnfk83dK08S zXDC5wMWEXuMpO05UDg5NAWntm0nKh5ZWpzjOkicyNePRkDOlET/S5nLOGqwSyXti436 3MM1FoJ8pQKH7M7JEWsqNXd6TtJPLsaogMiuV22HUUrGSyZWo4oRyPgzKn85TkWqd/2l IqZZm1zmVfRA518BO3n70iwlaMM3Veijktq1BwfOcHyT+pgeGpYdToImAMu9VNMftIh3 PfjoPFhRRwiUv6VCBIJKulWOZsYCpEDPfBC3anp71bPcmu4DGADZZJEsJ4q5z0+09+4g OjHA== X-Received: by 10.68.139.137 with SMTP id qy9mr13766847pbb.11.1404522969698; Fri, 04 Jul 2014 18:16:09 -0700 (PDT) Received: from newbook ([50.0.227.219]) by mx.google.com with ESMTPSA id zb2sm45403352pbb.45.2014.07.04.18.16.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Jul 2014 18:16:09 -0700 (PDT) Date: Fri, 4 Jul 2014 18:16:06 -0700 From: Isaac Dunham To: Natanael Copa Cc: Timo Teras , alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH] Add "-s" short option for "--simulate" Message-ID: <20140705011605.GA5982@newbook> References: <1404009591-1984-1-git-send-email-ibid.ag@gmail.com> <20140630085556.297136e7@ncopa-desktop.alpinelinux.org> <20140630071323.GA9193@newbook> <20140702092603.4a8dc91f@ncopa-desktop.alpinelinux.org> <20140702115212.6837f148@vostro> <20140702021030.2e1623c4@ncopa-laptop> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140702021030.2e1623c4@ncopa-laptop> User-Agent: Mutt/1.5.23 (2014-03-12) On Wed, Jul 02, 2014 at 02:10:30AM +0200, Natanael Copa wrote: > On Wed, 2 Jul 2014 11:52:12 +0300 > Timo Teras wrote: > > > On Wed, 2 Jul 2014 09:26:03 +0200 > > Natanael Copa wrote: > > > > > On Mon, 30 Jun 2014 00:13:24 -0700 > > > Isaac Dunham wrote: > > > > > > > On Mon, Jun 30, 2014 at 08:55:56AM +0200, Natanael Copa wrote: > > > > > On Sat, 28 Jun 2014 19:39:51 -0700 > > > > > Isaac Dunham wrote: > > > > > > > > > > > Typing the long option gets old. > > > > > > --- > > > > > > src/apk.c | 10 +++++----- > > > > > > 1 file changed, 5 insertions(+), 5 deletions(-) > > > > > > > > > > Have you checked that it does not break apk info -s ? > > > > > (for displaying size usage) > > > > > > > > I had not. > > > > And it does break it. > > > > > > > > My apologies. > > > > > > I must admit that I like the idea though. > > > > > > I dont think 'apk info -s --simulate' makes much sense. > > > > > > Timo, are there some way to fix this, that is, disable or override > > > global options for some applets. > > > > > > I am not sure we want do that though... > > > > Currently no, could probably be done with little changes. Though, I'd > > prefer not to do it. > > Ok. Lets leave it. > > > Though having '-s' short for --simulate sounds like a good idea. I have > > missed that, and I believe apt-get does that too. > > > > Perhaps we should rename info -s to something else? > > info -S? > > But I don't like breaking compatibility. It always causes unexpected > breakages which requires nasty fixes. The obvious approach is to instead alias --simulate to -S; as far as I can tell, there are no collisions. I would find that satisfactory. Anything I'm missing? Thanks, Isaac Dunham --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---