Add -L option as shortcut for --lua-filter.
commit8696725cd9b07c29086255590ccab038aa31c610
authorJohn MacFarlane <jgm@berkeley.edu>
dateSun 8 Sep 2019, 22:37 (7 years ago)
parent0558ea9
MANUAL.txt+1−1
@@ -549,7 +549,7 @@ Reader options {.options}
549549 Filters and lua-filters are applied in the order specified
550550 on the command line.
551551
552−`--lua-filter=`*SCRIPT*
552+`-L` *SCRIPT*, `--lua-filter=`*SCRIPT*
553553
554554: Transform the document in a similar fashion as JSON filters (see
555555 `--filter`), but use pandoc's build-in lua filtering system. The given
src/Text/Pandoc/App/CommandLineOptions.hs+1−1
@@ -428,7 +428,7 @@ options =
428428 "PROGRAM")
429429 "" -- "External JSON filter"
430430
431− , Option "" ["lua-filter"]
431+ , Option "L" ["lua-filter"]
432432 (ReqArg
433433 (\arg opt -> return opt { optFilters =
434434 LuaFilter (normalizePath arg) :