File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1436,7 +1436,7 @@ declare -A __argsparse_tmp_identifiers=()
14361436# argsparse_parse_options().
14371437
14381438
1439- # @fn _argsparse_check_declaration_conflict ()
1439+ # @fn __argsparse_check_declaration_conflict ()
14401440# @brief Internal use.
14411441# @details Check if an option conflicts with another and, if it does,
14421442# prints the conflicted option.
@@ -1556,12 +1556,12 @@ argsparse_is_option_set() {
15561556
15571557
15581558# @private
1559- # @fn __max_length ()
1559+ # @fn __argsparse_max_length ()
15601560# @details Prints the length of the longest argument _or_ 50.
15611561# @brief Internal use.
15621562# @param string... a list of strings
15631563# @return 0
1564- __max_length () {
1564+ __argsparse_max_length () {
15651565local max=50
15661566shift
15671567local max_length=0 str
@@ -1581,7 +1581,7 @@ __max_length() {
15811581# # @retval 0
15821582argsparse_report () {
15831583local option array_name value
1584- local length=$( __max_length " ${! __argsparse_options_descriptions[@]} " )
1584+ local length=$( __argsparse_max_length " ${! __argsparse_options_descriptions[@]} " )
15851585local -a array options
15861586
15871587if __argsparse_is_array_declared __argsparse_tmp_identifiers
@@ -1617,7 +1617,7 @@ argsparse_report() {
16171617fi
16181618printf ' )\n'
16191619else
1620- printf ' %s \n' no
1620+ printf ' no \n'
16211621fi
16221622done
16231623}
You can’t perform that action at this time.
0 commit comments