walles / moar

Moar is a pager. It's designed to just do the right thing without any configuration.
Other
587 stars 17 forks source link

[ feature request ] provide short options to long options #98

Open nkh opened 1 year ago

nkh commented 1 year ago

triple thumbs up for long options but for us who use moar (or any other program) in bash scripts putting three long (no status bar, continuation glyph, continuation glyph color) options means an extra line or worse an extra variable to hold the options.

screenshot_2022-07-21_19-49-41

walles commented 1 year ago

I agree in principle, and I vaguely recall looking into alternatives to Go's standard library flag handling (which is what I'm using now) for this very reason.

As I recall:

So I gave up. While not great, I think the current options handling works well enough.

What all this means is that:

Thus, labeling this as help-wanted.