repod: Support --all-once and --one switches