What flag would you expect from a good CLI when you need more a detailed output?

Yeah, no need to answer anymore. -v/--verbose is the winner

Follow

@yarmo
And for completeness' sake,

-V
--version

should print to stdout, ideally a single line like so:

$ python -V # beautifly simple
Python 3.10.4
$ aerc -V # built from master
aerc 0.9.0-11-g037676f
$ zsh --version # maybe some info
zsh 5.8.1 (x86_64-pc-linux-gnu)
$ astronaut -v # small v, oh well
astronaut 0.1.0

Some bad examples:

$ bash --version # bloat!
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.