evilsocket / opensnitch

OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch.
GNU General Public License v3.0
10.91k stars 509 forks source link

[Request] Version Command line Argument #374

Closed zero77 closed 3 years ago

zero77 commented 3 years ago

Can you please add a command line argument like -v output v1.5.41 to quickly show the current version, without having to open the ui, thanks.

gustavo-iniguez-goya commented 3 years ago

Something like this?

opensnitchd -version
[2021-03-22 12:16:38]  INF  OpenSnitch daemon 1.3.6
zero77 commented 3 years ago

@gustavo-iniguez-goya Yes, but perhaps just the version number.

NRGLine4Sec commented 3 years ago

Hi @gustavo-iniguez-goya I'm agree with @zero77, it is more convenient to just have the version number when you want to make script with this sort of command :

opensnitch_version="$(opensnitchd -version)"
gustavo-iniguez-goya commented 3 years ago

done! thank you @NRGLine4Sec and @zero77 :)