Fix typo
This commit is contained in:
parent
a0effab950
commit
b97fdbd1a6
14
src/_yfm
14
src/_yfm
|
@ -53,13 +53,13 @@ _yfm() {
|
||||||
typeset -A opt_args
|
typeset -A opt_args
|
||||||
|
|
||||||
_arguments \
|
_arguments \
|
||||||
'(-i, --input)'{-i,--input}'[Configure path to yfm input directory]:dir:_suggest_dir' \
|
'(-i --input)'{-i,--input}'[Configure path to yfm input directory]:dir:_suggest_dir' \
|
||||||
'(-o, --output)'{-o,--output}'[Configure path to yfm output directory]:dir:_suggest_dir' \
|
'(-o --output)'{-o,--output}'[Configure path to yfm output directory]:dir:_suggest_dir' \
|
||||||
'(--varsPreset)'--varsPreset'[Name of the variable preset used]:TEXT' \
|
'(--varsPreset)'--varsPreset'[Name of the variable preset used]:TEXT' \
|
||||||
'(--vars, -v)'{--vars,-v}'[Values of variables]:TEXT' \
|
'(--vars -v)'{--vars,-v}'[Values of variables]:TEXT' \
|
||||||
'(--strict, -s)'{--strict,-s}'[Launch in strict mode]' \
|
'(--strict -s)'{--strict,-s}'[Launch in strict mode]' \
|
||||||
'(--quiet, -q)'{--quiet,-q}'[Start in quiet mode]' \
|
'(--quiet -q)'{--quiet,-q}'[Start in quiet mode]' \
|
||||||
'(--config, -c)'{--config,-c}'[Path to the configuration file]:filename:_files' \
|
'(--config -c)'{--config,-c}'[Path to the configuration file]:filename:_files' \
|
||||||
'(--singlePage)'--singlePage'[Build the project as a single HTML file]' \
|
'(--singlePage)'--singlePage'[Build the project as a single HTML file]' \
|
||||||
'(--output-format)'--output-format'[Generation format]:TEXT' \
|
'(--output-format)'--output-format'[Generation format]:TEXT' \
|
||||||
'(--apply-presets)'--apply-presets'[Substitute variable values from presets when building in YFM]:TEXT' \
|
'(--apply-presets)'--apply-presets'[Substitute variable values from presets when building in YFM]:TEXT' \
|
||||||
|
@ -107,8 +107,6 @@ _yfm() {
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
_yfm "$@"
|
|
||||||
|
|
||||||
# Local Variables:
|
# Local Variables:
|
||||||
# mode: Shell-Script
|
# mode: Shell-Script
|
||||||
# sh-indentation: 2
|
# sh-indentation: 2
|
||||||
|
|
Loading…
Reference in New Issue