Fixed handling for commands with 3+ arguments.
Updated to properly handle array arguments.

Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
Merge pull request #20 from danhunsaker/develop

Fixed handling for commands with 3+ arguments.