]> git.sur5r.net Git - i3/i3/commit
debugging: implement a NOP command which just spits out its argument
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 20 Nov 2010 17:40:25 +0000 (18:40 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 20 Nov 2010 17:40:25 +0000 (18:40 +0100)
commit131a2f8765892540d24d793df8efa10f9b13426f
tree15f275f34e7c43acb473fad515087225c26a7395
parent576de246d81856e831391062e63bbfc47fd7e481
debugging: implement a NOP command which just spits out its argument

You can use this in testcases to mark specific sections:
  $i3->command('nop before trying to crash')->recv;
leads to the following output in the i3 logfile:
  -------------------------------------------------
    NOP: before trying to crash
  -------------------------------------------------
src/cmdparse.l
src/cmdparse.y