[xen-tools-dev] RFC : arguments validation
Stéphane Jourdois
sjourdois at gmail.com
Sat Jul 17 12:37:57 CEST 2010
Hi,
In my tree [1] is a patch [2] that tries to resolve the following TODO item :
* xen-create-image should check all integer options on non-digits.
I took the liberty to permit the check of every option (not only integers).
Note that this "atomic" check does not check validity/sanity of a pool
of options, checkArguments() already does that.
What do you think about this patch ?
If everybody likes it and it would be merged, I will finish this
unfinished proposition.
Thanks for your thoughts,
Stéphane (kwisatz) Jourdois
[1] http://gitorious.org/xen-tools/kwisatz-xen-tools
[2] http://gitorious.org/xen-tools/kwisatz-xen-tools/commit/34de5f764c475d7a47b04796ae457c53f7d8ef49
More information about the xen-tools-dev
mailing list