Remove the c-style "have I been included before" check, because it actually was making things worse
This commit is contained in:
@@ -329,8 +329,6 @@ function cmdarg_purge
|
|||||||
CMDARG_GETOPTLIST="h"
|
CMDARG_GETOPTLIST="h"
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ "${_DEFINED_CMDARG}" == "" ]]; then
|
|
||||||
export _DEFINED_CMDARG=0
|
|
||||||
# Holds the final map of configuration options
|
# Holds the final map of configuration options
|
||||||
declare -xA cmdarg_cfg
|
declare -xA cmdarg_cfg
|
||||||
# Maps (short arg) -> (long arg)
|
# Maps (short arg) -> (long arg)
|
||||||
@@ -354,4 +352,3 @@ if [[ "${_DEFINED_CMDARG}" == "" ]]; then
|
|||||||
# Map of (short arg) -> type (string, array, hash)
|
# Map of (short arg) -> type (string, array, hash)
|
||||||
declare -xA CMDARG_TYPES
|
declare -xA CMDARG_TYPES
|
||||||
CMDARG_GETOPTLIST="h"
|
CMDARG_GETOPTLIST="h"
|
||||||
fi
|
|
||||||
|
|||||||
Reference in New Issue
Block a user