Issue #28

Execute the on_status() logic after all options have been processed
so that the ordering between -S and -p doesn't matter.
Merge pull request #32 from deweerdt/master

Issue #28