mik icon indicating copy to clipboard operation
mik copied to clipboard

-cc option doesn't work on Windows

Open mjordan opened this issue 8 years ago • 3 comments

Coming out of #321, he -cc option (short form of --checkconfig) no longer works:

./mik -c /tmp/tutorial/tutorial_config.ini --checkconfig all
Commencing MIK.
Mapping snippets are OK
Paths are OK
Input directory paths are OK.
Error with CSV input file: it appears that row 5 does not have the same number of colums (1) as the header row (7).
Error with CSV input file: it appears that row 8 does not have the same number of colums (1) as the header row (7).

./mik -c /tmp/tutorial/tutorial_config.ini -cc all
ERROR: Unable to parse option -c: Expected an argument 

I am sure this worked in the past. Perhaps running a composer update has introduced a problem with the Commando CLI library. I will investigate.

mjordan avatar Feb 15 '17 23:02 mjordan

I can no longer replicate this problem. Can anyone else?

mjordan avatar Mar 24 '17 03:03 mjordan

Hm, I confirmed this today on Windows at work, but -cc works fine on my linux laptop. Will confirm again tomorrow and rename this isssue if it's specific to Windows.

mjordan avatar Mar 31 '17 02:03 mjordan

It's specific to Windows:

php -c php.ini mik -c alping.ini -cc all
ERROR: Unable to parse option -c: Expected an argument

mjordan avatar Mar 31 '17 23:03 mjordan