git.iko.soy/typeable/pandoc
on master help sign in
Add -L option as shortcut for --lua-filter.
8696725John MacFarlane
MANUAL.txt+1−1
@@ -549,7 +549,7 @@ Reader options {.options}
549 Filters and lua-filters are applied in the order specified
549 Filters and lua-filters are applied in the order specified
550 on the command line.
550 on the command line.
551
551
552−`--lua-filter=`*SCRIPT*
552+`-L` *SCRIPT*, `--lua-filter=`*SCRIPT*
553
553
554: Transform the document in a similar fashion as JSON filters (see
554: Transform the document in a similar fashion as JSON filters (see
555 `--filter`), but use pandoc's build-in lua filtering system. The given
555 `--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 =
428 "PROGRAM")
428 "PROGRAM")
429 "" -- "External JSON filter"
429 "" -- "External JSON filter"
430
430
431− , Option "" ["lua-filter"]
431+ , Option "L" ["lua-filter"]
432 (ReqArg
432 (ReqArg
433 (\arg opt -> return opt { optFilters =
433 (\arg opt -> return opt { optFilters =
434 LuaFilter (normalizePath arg) :
434 LuaFilter (normalizePath arg) :