argbash icon indicating copy to clipboard operation
argbash copied to clipboard

parse_commandline: _key should be local?

Open lingo opened this issue 2 years ago • 0 comments

In generated code:

parse_commandline()
{
	_positionals_count=0
	while test $# -gt 0
	do
		_key="$1"
          #...

Shouldn't _key be declared as a local ?

lingo avatar Apr 18 '23 00:04 lingo