Update the description of the "--buildInfo" argument

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
Username404 2021-12-31 12:51:13 +01:00
parent 905222f61d
commit a59629bf94
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
3 changed files with 3 additions and 3 deletions

View File

@ -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 -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 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 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"

View File

@ -4,7 +4,7 @@ _ybcon() {
_arguments \
'( - 0)'{-h,--help}'[Print the help screen]' \
'( - 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]' \
--target='[Set the transpilation target]:language:(lua js py)' \
--newlines='[Enable or disable new lines]:state:(on off)' \

View File

@ -14,7 +14,7 @@ usage() {
echo "$EXENAME [--version] [--buildInfo] [-h|--help] [--parallel] [--target=<target>] [--newlines=on/off] [-p|--printresult] <file>"
if [ "$1" = true ]; then
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 " --parallel Transpile files in parallel mode"
echo " --target=<target> Set the transpilation target"