Update the description of the "--buildInfo" argument
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
b8e1352a1e
commit
f8e20488d0
|
@ -3,7 +3,7 @@ set -l commands --version -h --help --target= -p --printresult
|
||||||
complete -c ybcon -f -a "(__fish_complete_suffix .ybcon)"
|
complete -c ybcon -f -a "(__fish_complete_suffix .ybcon)"
|
||||||
complete -c ybcon -x -s h -l help -d "Print the help screen"
|
complete -c ybcon -x -s h -l help -d "Print the help screen"
|
||||||
complete -c ybcon -x -l version -d "Print the version"
|
complete -c ybcon -x -l version -d "Print the version"
|
||||||
complete -c ybcon -x -l buildInfo -d "Print the compiler name and the optimization flags used to build the ybcon executable"
|
complete -c ybcon -x -l buildInfo -d "Print informations about how the ybcon executable was built"
|
||||||
complete -c ybcon -l parallel -k -d "Transpile files in parallel mode"
|
complete -c ybcon -l parallel -k -d "Transpile files in parallel mode"
|
||||||
complete -c ybcon -l target -k -f -a 'lua js py' -d "Set the transpilation target"
|
complete -c ybcon -l target -k -f -a 'lua js py' -d "Set the transpilation target"
|
||||||
complete -c ybcon -l newlines -k -f -a 'on off' -d "Enable or disable new lines"
|
complete -c ybcon -l newlines -k -f -a 'on off' -d "Enable or disable new lines"
|
||||||
|
|
|
@ -4,7 +4,7 @@ _ybcon() {
|
||||||
_arguments \
|
_arguments \
|
||||||
'( - 0)'{-h,--help}'[Print the help screen]' \
|
'( - 0)'{-h,--help}'[Print the help screen]' \
|
||||||
'( - 0)'--version'[Print the version]' \
|
'( - 0)'--version'[Print the version]' \
|
||||||
'( - 0)'--buildInfo'[Print the compiler name and the optimization flags used to build the ybcon executable]' \
|
'( - 0)'--buildInfo'[Print informations about how the ybcon executable was built]' \
|
||||||
--parallel'[Transpile files in parallel mode]' \
|
--parallel'[Transpile files in parallel mode]' \
|
||||||
--target='[Set the transpilation target]:language:(lua js py)' \
|
--target='[Set the transpilation target]:language:(lua js py)' \
|
||||||
--newlines='[Enable or disable new lines]:state:(on off)' \
|
--newlines='[Enable or disable new lines]:state:(on off)' \
|
||||||
|
|
|
@ -14,7 +14,7 @@ usage() {
|
||||||
echo "$EXENAME [--version] [--buildInfo] [-h|--help] [--parallel] [--target=<target>] [--newlines=on/off] [-p|--printresult] <file>"
|
echo "$EXENAME [--version] [--buildInfo] [-h|--help] [--parallel] [--target=<target>] [--newlines=on/off] [-p|--printresult] <file>"
|
||||||
if [ "$1" = true ]; then
|
if [ "$1" = true ]; then
|
||||||
echo " --version Print the version"
|
echo " --version Print the version"
|
||||||
echo " --buildInfo Print the compiler name and the optimization flags used to build the ybcon executable"
|
echo " --buildInfo Print informations about how the ybcon executable was built"
|
||||||
echo " -h or --help What you're seeing right now"
|
echo " -h or --help What you're seeing right now"
|
||||||
echo " --parallel Transpile files in parallel mode"
|
echo " --parallel Transpile files in parallel mode"
|
||||||
echo " --target=<target> Set the transpilation target"
|
echo " --target=<target> Set the transpilation target"
|
||||||
|
|
Loading…
Reference in New Issue