cespare / reflex

Run a command when files change
MIT License
3.35k stars 135 forks source link

Arguments not correctly parsed: -v in a command being "appropriated" #54

Closed dkvasnicka closed 5 years ago

dkvasnicka commented 5 years ago

Running

reflex -d none -g '*.rkt' raco make -v {}

makes reflex run in verbose mode despite the fact that the -v is passed as an argument to the command being executed, not to reflex itself.

cespare commented 5 years ago

Use -- to separate flags from arguments:

 reflex -d none -g '*.rkt' -- raco make -v {}
dkvasnicka commented 5 years ago

Ah, sorry, should have RTFM. Works, thanks!