From: Ian Jackson Subject: Re: [PATCH 8/9] xl: xl block-attach -N (dry run) option Date: Fri, 3 Jun 2011 12:17:10 +0100 Message-ID: <19944.49846.994106.400180@mariner.uk.xensource.com> References: <1307037346-31251-1-git-send-email-ian.jackson@eu.citrix.com> <1307037346-31251-2-git-send-email-ian.jackson@eu.citrix.com> <1307037346-31251-3-git-send-email-ian.jackson@eu.citrix.com> <1307037346-31251-4-git-send-email-ian.jackson@eu.citrix.com> <1307037346-31251-5-git-send-email-ian.jackson@eu.citrix.com> <1307037346-31251-6-git-send-email-ian.jackson@eu.citrix.com> <1307037346-31251-7-git-send-email-ian.jackson@eu.citrix.com> <1307037346-31251-8-git-send-email-ian.jackson@eu.citrix.com> <1307037346-31251-9-git-send-email-ian.jackson@eu.citrix.com> <1307097053.775.355.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1307097053.775.355.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH 8/9] xl: xl block-attach -N (dry run) option"): > On Thu, 2011-06-02 at 18:55 +0100, Ian Jackson wrote: > > This is mainly for debugging purposes at the moment. Eventually I > > hope all commands will gain this so that -N will be a global option. > > > > In the meantime this new option is not documented and should be > > regarded as unstable. > > This is because it will ultimately move from after the command name to > before? Yes. > What about adding a dry_run flag to struct cmd_spec and handling -N at > the global scope on the basis of that flag, IOW error out on > xl -N Good idea, I'll do that. Ian.