usbguard icon indicating copy to clipboard operation
usbguard copied to clipboard

Add option --version

Open jk-10 opened this issue 3 years ago • 2 comments

Running usbguard --version at least on Ubuntu 22.04 does not produce any versioning information. Handling these issues and fixes might be easier with known version numbers.

So please add support for new option --version

jk-10 avatar Dec 01 '22 13:12 jk-10

@jk-10 I second that there should be --version supported by at least command usbguard. :+1:

Just for your information, one way to check which version of USBGuard (or any distro package) you have installed on Ubuntu (and Debian) is apt-cache policy usbguard, e.g.:

# cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux bookworm/sid"
NAME="Debian GNU/Linux"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

# apt-cache policy usbguard
usbguard:
  Installed: 1.1.2+ds-3+b1
  Candidate: 1.1.2+ds-3+b1
  Version table:
 *** 1.1.2+ds-3+b1 500
        500 http://deb.debian.org/debian sid/main amd64 Packages
        100 /var/lib/dpkg/status

hartwork avatar Dec 01 '22 15:12 hartwork

I agree that this could come in handy when debugging future issues.

Cropi avatar Dec 12 '22 08:12 Cropi