properly handle required/optional args

[fixes #330]
Merge pull request #333 from hartzler/python-admin-args-fixup

properly handle required/optional args