Also: why are you subtracting i+2 from the index ?
cfupgrade -c blah -b blah -s blah -i command more args after this
is going to start this loop at j = 7+2, then it's going to use argv[9-7], argv[10-7], ... as its arguments, so we'll copy
command blah -b blah -s
as the command to run.