Sort options.
Fix wrong name for --debug-file.
Add --debug-rotate-max.

Also rescope long option enum and use a safe starting value.