From b97fdbd1a60187633ca357783cbaa53910c21725 Mon Sep 17 00:00:00 2001 From: guesswhozzz Date: Tue, 10 Dec 2024 17:09:07 +0300 Subject: [PATCH] Fix typo --- src/_yfm | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/_yfm b/src/_yfm index b0deeb7..5610ce2 100644 --- a/src/_yfm +++ b/src/_yfm @@ -53,13 +53,13 @@ _yfm() { typeset -A opt_args _arguments \ - '(-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' \ + '(-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' \ '(--varsPreset)'--varsPreset'[Name of the variable preset used]:TEXT' \ - '(--vars, -v)'{--vars,-v}'[Values of variables]:TEXT' \ - '(--strict, -s)'{--strict,-s}'[Launch in strict mode]' \ - '(--quiet, -q)'{--quiet,-q}'[Start in quiet mode]' \ - '(--config, -c)'{--config,-c}'[Path to the configuration file]:filename:_files' \ + '(--vars -v)'{--vars,-v}'[Values of variables]:TEXT' \ + '(--strict -s)'{--strict,-s}'[Launch in strict mode]' \ + '(--quiet -q)'{--quiet,-q}'[Start in quiet mode]' \ + '(--config -c)'{--config,-c}'[Path to the configuration file]:filename:_files' \ '(--singlePage)'--singlePage'[Build the project as a single HTML file]' \ '(--output-format)'--output-format'[Generation format]:TEXT' \ '(--apply-presets)'--apply-presets'[Substitute variable values from presets when building in YFM]:TEXT' \ @@ -107,8 +107,6 @@ _yfm() { esac } -_yfm "$@" - # Local Variables: # mode: Shell-Script # sh-indentation: 2