I have a bash script like this :

```
usage="setup.sh [-localsource path to dir] [-help]";

 for i in $@
    do
        if [ "$localSourceOpt" = 1 ]
        then
            localSource=$i
            localSourceOpt=0;
        fi
        if [ "$i" = "-localsource" ]
        then
            localSourceOpt=1;
        fi
        if [ "$i" = "-help" ]
        then
            echo "$usage";
            exit;
        fi
    done

```

which requires on argument e.g 

```
setup.sh -localsource PATH 

```

what I need is to add another argument which MIGHT have multiple argument values e.g 

```
 setup.sh -localsource PATH  -locbranches one two three 

```

What I should do to capture values passed for argument "-locbranches" 

thanks in advance