QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
543 stars 48 forks source link

`qubes-vm-update` doesn't print an error when arguments are bad #9565

Closed RandyTheOtter closed 1 week ago

RandyTheOtter commented 2 weeks ago

How to file a helpful issue

Qubes OS release

4.2.3

Brief summary

If you run qubes-vm-update with nonexistent target, it will not print out any error message. This is annoying when there are plenty of targets and you don't know which one causes it.

Steps to reproduce

qubes-vm-update --targets=whatever

Expected behavior

return 64, print something like: error: target 'whatever' not found

Actual behavior

return 64

alimirjamali commented 2 weeks ago

PR Submitted

Review priority: Low