dthree / cash

Cross-platform Linux commands in ES6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cp: --no-clobber and -n do not work

tituomin opened this issue · comments

Vorpal returns { yyy: false } for any options of the form --no-yyy. This results in --no-clobber not working for cp. The tests do not catch this because they don't test the vorpal command line argument parsing, but use already parsed options instead.

I ran into this issue and found the following workaround: cp --clobber=false ... maybe this helps others until this is fixed.