revision.c: support --notes command-line option