pack-objects: convert to use parse_options()