diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-01-28 06:28:06 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-01-28 06:28:06 -0800 |
commit | fe6ef8b5e2810495d9ef4620be30806857351202 (patch) | |
tree | 21896ec89e8b1a86d26bd2443bdc16ff16d764cb /tl.vim | |
parent | d0d28ade066af5ae00a2ec00f428065c720a6b2d (diff) | |
download | txr-fe6ef8b5e2810495d9ef4620be30806857351202.tar.gz txr-fe6ef8b5e2810495d9ef4620be30806857351202.tar.bz2 txr-fe6ef8b5e2810495d9ef4620be30806857351202.zip |
command line: support -f in Hash Bang Null Hack.
* txr.c (txr_main): In processing the -f option, if there is
already an input source, but its name exactly matches the
argument of the -f option, then ignore the -f and its option
intead of terminating with a diagnostic. This allows the user
to use -f in the Null Hack to achieve the usual trick of
allowing the script to take options passed through to the
interpreter.
* txr.1: Documented.
Diffstat (limited to 'tl.vim')
0 files changed, 0 insertions, 0 deletions