On 10 October 2012 12:56, IJff, E.G. <[email protected]> wrote: > That makes sense, although I would recommend > -t, --target target Device where the image will be attached > in stead of > -t, --target type Device where the image will be attached > > to avoid any other confusion
Fixed in master, thanks for the feedback > > ________________________________________ > Van: Javier Fontan [[email protected]] > Verzonden: woensdag 10 oktober 2012 12:51 > To: IJff, E.G. > Cc: [email protected] > Onderwerp: Re: [one-users] bug in onevm > > Type and target are used for different subcommands: > > * saveas <vmid> <diskid> <img_name> > [...] > valid options: type > > * attachdisk <vmid> > [...] > valid options: file, image, target > > So even if they have the same short argument they have different > meanings for saveas and attachdisk. > > It is ok to send bug reports to the mailing list so we can discuss > them. You can also use the issue tracking at http://dev.opennebula.org > > On Wed, Oct 10, 2012 at 11:05 AM, IJff, E.G. <[email protected]> wrote: >> Hi, >> >> I'm using OpenNebula at the Vrije Universiteit in Amsterdam, NL. >> When reading the "onevm help" I found that option "-t" seems to serve two >> purposes: >> >> $ onevm help | grep '.-t' >> -t, --target type Device where the image will be attached >> -t, --type type Type of the new Image >> >> in /cm/shared/package/OpenNebula/current/srv/cloud/one/bin/onevm the >> following code (lines 40..54) seems to be wrong: >> TYPE={ >> :name => "type", >> :short => "-t type", >> :large => "--type type", >> :format => String, >> :description => "Type of the new Image" >> } >> >> TARGET={ >> :name => "target", >> :short => "-t type", >> :large => "--target type", >> :format => String, >> :description => "Device where the image will be attached" >> } >> >> Best regards, >> Bert >> >> P.S. this is my first post to this list, so if I should report bugs >> somewhere else, please let me know. >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> > > > > -- > Javier Fontán Muiños > Project Engineer > OpenNebula - The Open Source Toolkit for Data Center Virtualization > www.OpenNebula.org | [email protected] | @OpenNebula > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org | [email protected] | @OpenNebula _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
