"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "bin/argbash-1to2" between
argbash-2.9.0.tar.gz and argbash-2.10.0.tar.gz

About: argbash is a bash code generator that can assist you in writing scripts that accept arguments.

argbash-1to2  (argbash-2.9.0):argbash-1to2  (argbash-2.10.0)
#!/bin/bash #!/bin/bash
# shellcheck disable=SC2016 # shellcheck disable=SC2016
# SC2016: Expressions don't expand in single quotes, use double quotes for that. # SC2016: Expressions don't expand in single quotes, use double quotes for that.
version=2.9.0 version=2.10.0
# ARG_POSITIONAL_INF([input],[The input file to transform],[1]) # ARG_POSITIONAL_INF([input],[The input file to transform],[1])
# ARG_OPTIONAL_SINGLE([output],[o],[Name of the output file (pass '-' for stdout and empty string for the same as input file)],[""]) # ARG_OPTIONAL_SINGLE([output],[o],[Name of the output file (pass '-' for stdout and empty string for the same as input file)],[""])
# ARG_VERSION([echo "argbash-1to2 v$version"]) # ARG_VERSION([echo "argbash-1to2 v$version"])
# ARG_HELP([Convert a template for argbash>=1,<2 to argbash>=2,<3]) # ARG_HELP([Convert a template for argbash>=1,<2 to argbash>=2,<3])
# ARGBASH_GO() # ARGBASH_GO()
# needed because of Argbash --> m4_ignore([ # needed because of Argbash --> m4_ignore([
### START OF CODE GENERATED BY Argbash v2.9.0 one line above ### ### START OF CODE GENERATED BY Argbash v2.10.0 one line above ###
# Argbash is a bash code generator used to get arguments parsing right. # Argbash is a bash code generator used to get arguments parsing right.
# Argbash is FREE SOFTWARE, see https://argbash.io for more info # Argbash is FREE SOFTWARE, see https://argbash.io for more info
die() die()
{ {
local _ret="${2:-1}" local _ret="${2:-1}"
test "${_PRINT_HELP:-no}" = yes && print_help >&2 test "${_PRINT_HELP:-no}" = yes && print_help >&2
echo "$1" >&2 echo "$1" >&2
exit "${_ret}" exit "${_ret}"
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)