Make --commit a general option and not only with --authenticate.