ferium icon indicating copy to clipboard operation
ferium copied to clipboard

add `-s/--short` option to `ferium upgrade` to hide compatible mods

Open tippfehlr opened this issue 1 year ago • 3 comments

I have ferium upgrade in my upgrade script and printing all mods every time is unnecessary in my case. I only want to see mods that are actually upgraded.

tippfehlr avatar May 16 '23 18:05 tippfehlr

-l in this case is confusing for any linux/terminal user, as it's an almost standard for "long list format" or otherwise for "long output", the format that --verbose uses.

--less is an unfortunate naming for all linux users, as it's a standard tool for displaying files in terminal. There are many tools that use --less argument to use less as a pager and it's confusing.

A much better and standardized argument option is -q, --quiet, --silent which suppresses printing to terminal.

T3sT3ro avatar May 24 '23 13:05 T3sT3ro

You're right, I didn't think about that (I'm a Linux user myself). Do you think -q/--quiet would be the right choice? The command line flag only suppresses the first part and doesn't print nothing.

tippfehlr avatar May 24 '23 14:05 tippfehlr

I think I would go with -s --short for the short output like yours and with -q --quiet for no output at all (exit code only).

T3sT3ro avatar May 24 '23 14:05 T3sT3ro