HI !

 running a trival example with 1.0.0-rt10 works fine until I use -o

spatch --sp-file trivial.cocci trivial.c
...
 dumps diff on stdout as expected

spatch --sp-file trivial.cocci trivial.c -o trivial_mod.c
...
 usage message with the last lines being
...
Example of use:
  ./spatch --sp-file foo.cocci foo.c -o /tmp/newfoo.c

build gave me no problems (Debian 6.0.3) - guess I must be doing something
trivially stupid - but can't find it... anybody else seeing this ?

# spatch -version
spatch version 1.0.0-rc10 with Python support and with PCRE support

-o works fine with the debian default coccinelle which is spatch version 0.2.3
(with Python support) 

thx!
hofrat
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to