Added -revision switch, but not implemented yet