add output option for version command