[c-c schema] devtools: the output file for cw-ctl schema is not supposed to exist
When using the 'file' type, logilab-common errors out if the file
doesn't exist. Which, if the option refers to an output file, is not so
useful. Use 'string' instead.
--- a/devtools/devctl.py Fri Jul 06 08:59:28 2012 +0200
+++ b/devtools/devctl.py Fri Jul 06 09:01:42 2012 +0200
@@ -726,7 +726,7 @@
min_args = max_args = 1
options = [
('output-file',
- {'type':'file', 'default': None,
+ {'type':'string', 'default': None,
'metavar': '<file>', 'short':'o', 'help':'output image file',
'input':False,
}),