Add -L option as shortcut for --lua-filter.
This commit is contained in:
parent
0558ea9836
commit
8696725cd9
2 changed files with 2 additions and 2 deletions
|
@ -549,7 +549,7 @@ Reader options {.options}
|
|||
Filters and lua-filters are applied in the order specified
|
||||
on the command line.
|
||||
|
||||
`--lua-filter=`*SCRIPT*
|
||||
`-L` *SCRIPT*, `--lua-filter=`*SCRIPT*
|
||||
|
||||
: Transform the document in a similar fashion as JSON filters (see
|
||||
`--filter`), but use pandoc's build-in lua filtering system. The given
|
||||
|
|
|
@ -428,7 +428,7 @@ options =
|
|||
"PROGRAM")
|
||||
"" -- "External JSON filter"
|
||||
|
||||
, Option "" ["lua-filter"]
|
||||
, Option "L" ["lua-filter"]
|
||||
(ReqArg
|
||||
(\arg opt -> return opt { optFilters =
|
||||
LuaFilter (normalizePath arg) :
|
||||
|
|
Loading…
Reference in a new issue