matejak / argbash

Bash argument parsing code generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

parse_commandline: _key should be local?

lingo opened this issue · comments

In generated code:

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

Shouldn't _key be declared as a local ?