* can we move option checking to its own function? Currently each
command is doing that itself.
* make the option parsing code dynamic, so that there is no limit
* can we move option checking to its own function? Currently each
command is doing that itself.
* make the option parsing code dynamic, so that there is no limit