rev-parse --parseopt: add the --stuck-long mode