It would be really nice if kiji-common-flags did some of this automagically.