X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from dal-a2.localdomain (unknown [74.117.189.115]) by mail.alpinelinux.org (Postfix) with ESMTP id 2AD8ADC00D0 for ; Thu, 8 May 2014 13:55:49 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (3.203.202.84.customer.cdi.no [84.202.203.3]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@tanael.org) by dal-a2.localdomain (Postfix) with ESMTPSA id 71538BC3973; Thu, 8 May 2014 13:55:48 +0000 (UTC) Date: Thu, 8 May 2014 15:55:44 +0200 From: Natanael Copa To: Alan Messias Cc: Alpine Devel List Subject: Re: [alpine-devel] [PATCH] - LBU showing more options on usage() Message-ID: <20140508155544.70b69dc2@ncopa-desktop.alpinelinux.org> In-Reply-To: References: <20140508153541.460bd243@ncopa-desktop.alpinelinux.org> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-alpine-linux-musl) 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-Transfer-Encoding: 7bit On Thu, 8 May 2014 10:43:28 -0300 Alan Messias wrote: > Hi Copa, > > IMHO I dont think it should be a secret. There is no why. > Even if it is only for migration It would be nice if everybody knows about > this stuff. > It is a tool... it is there and I think the users should be aware of it. I cannot argue against that :) Good point. But I'll drop the 'mie' short-command. Thanks! -nc > > :wq! > alacerda > > > > On Thu, May 8, 2014 at 10:35 AM, Natanael Copa wrote: > > > On Wed, 30 Apr 2014 14:45:56 -0300 > > Alan Messias wrote: > > > > > Let our users know the options availiable and let us add a shortcut for > > > migrate_include_exclude: > > > > > > What do you think about this? > > > > > > --- a/lbu > > > +++ b/lbu > > > @@ -44,6 +44,8 @@ > > > package (pkg) > > > status (stat, st) > > > list-backup (lb) > > > + migrate_include_exclude (mie) > > > + diff > > > revert > > > > > > Common options: > > > @@ -732,9 +734,9 @@ > > > package|pkg) SUBCMD="package";; > > > status|stat|st) SUBCMD="status";; > > > list-backup|lb) SUBCMD="listbackup";; > > > + migrate_include_exclude|mie) SUBCMD="migrate_include_exclude";; > > > revert) SUBCMD="revert";; > > > diff) SUBCMD="diff";; > > > - migrate_include_exclude) SUBCMD="migrate_include_exclude";; > > > *) usage;; > > > esac > > > > > > > This command should not be used often. Its only for migrating from old > > format to new and should only e called from apk trigger. > > > > I don't think we should create a short version of it, and i dont know > > if we need show it in help text either. > > > > -nc > > > > > *The nice thing about standards is that there are so many to choose from. > And if you really don't like all the standards you just have to wait > another year until the one arises you are looking for. -- A. Tanenbaum, > "Introduction to Computer Networks"* --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---