# HG changeset patch # User Julien Cristau # Date 1341558102 -7200 # Node ID 49e965bba1ec11acf0a7b301361247b5a55e0777 # Parent 4fb20c09017a4a1ab2556391d9307955229ed0ae [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. diff -r 4fb20c09017a -r 49e965bba1ec devtools/devctl.py --- 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': '', 'short':'o', 'help':'output image file', 'input':False, }),