Flags in help topics not in alphabetical order?

hey,

pretty inconsequential but is there any reason why the list of flags in cylc help topics isn’t in alphabetical order (see screenshot)? i think ordering them would make them easier to use?

cheers :smiley:

Hi @jonnyhtw

We use a command-line parsing library for this. It doesn’t seem to provide an alphabetic sort option for the help text. Basically the order of definition in the code is retained, which allows us to put the most important options at the top.

hey hilary,

ok fair enough!

isn’t ‘most important’ subjective though? e.g. i use…

--submit-number

… all the time but have never used…

--force-remote

this is using cylc log btw.

anyway, no bother. :smiley:

cheers,

Yes it is subjective, but usually somewhat sensible!

1 Like

I think our parser uses definition order, the up side of this is that the more important options tend to float towards the top.

1 Like

ok thanks for this @oliver.sanders and @hilary.j.oliver i think i get it now! :smiley: