When scanning the `inst' module with shellcheck, warnings are issued
about unused variables. However, the unused variables are function
parameters, which have to be declared per toolbox convention.
This commit adds comments instructing shellcheck to ignore the
unused function parameters.
}
_inst_handle_opt_stop() {
+ # shellcheck disable=SC2034 # Reason: All function parameters must be declared (toolbox convention)
local opt="$1"
local arg="$2"
}
_inst_handle_opt_list() {
+ # shellcheck disable=SC2034 # Reason: All function parameters must be declared (toolbox convention)
local opt="$1"
+ # shellcheck disable=SC2034 # Reason: All function parameters must be declared (toolbox convention)
local arg="$2"
inst_list "$__inst_name"