commands/cli: Sort options by length when generating options helptext