[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 8/9] xl: xl block-attach -N (dry run) option



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:
> > -    if ((opt = def_getopt(argc, argv, "", "block-attach", 2)) != -1)
> > -        return opt;
> > +    while ((opt = getopt(argc, argv, "Nh")) != -1) {
> 
> You've undone part of 23299:39f2942fe56b here, not on purpose?

The def_getopt only works if the command doesn't have any nonstandard
options, AFAICT.  But if we move -N into the global options this
becomes unnecessary.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.