Is your feature request readily implemented in software? Please describe.
Maybe yes?
Describe the solution you propose
Add support to "./terms" for arguments like "-V" or "--version" or "-h" or "--help" to report program version.
$ ./terms -V
1.0.0
$ ./terms --version
1.0.0
$ ./terms -h
usage: terms [input file]
standalone options: -h, --help; -V, --version
$ ./term --help
...like above...
Describe existing implementations / alternatives
Examples from other applications on Fedora 40 Xfce spin:
$ ssh -V
OpenSSH_9.6p1, OpenSSL 3.2.2 4 Jun 2024
$ vim --version
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Aug 12 2024 00:00:00)
Included patches: 1-672
Modified by <bugzilla@redhat.com>
Compiled by <bugzilla@redhat.com>
Huge version without GUI. Features included (+) or not (-):
+acl +...
system vimrc file: "/etc/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
3rd user vimrc file: "$XDG_CONFIG_HOME/vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c ...
Linking: gcc -Wl ...
$ xfce4-terminal -h
Usage:
xfce4-terminal [OPTION...]
General Options:
-h, --help; -V, --version ...
Additional context
I could not find a way to query the version of compiled TERM binary, including strings terms.
Is your feature request readily implemented in software? Please describe.
Maybe yes?
Describe the solution you propose
Add support to "./terms" for arguments like "-V" or "--version" or "-h" or "--help" to report program version.
Describe existing implementations / alternatives
Examples from other applications on Fedora 40 Xfce spin:
Additional context
I could not find a way to query the version of compiled TERM binary, including
strings terms.