oh by the way, my current favourite shell script way of testing if a flag
exists (yet) in a module is not to test the version/revision, but to do a
more direct query:
r.watershed --interface-description | grep -c '<flag name="f">'
which should return 0 or 1.
Hamish