Page MenuHomeFreeBSD

efivar: Add --quiet to not report errors
ClosedPublic

Authored by imp on Apr 7 2021, 5:41 AM.
Tags
None
Referenced Files
F152957930: D29619.id87158.diff
Sat, Apr 18, 8:04 AM
F152954709: D29619.id87087.diff
Sat, Apr 18, 7:37 AM
Unknown Object (File)
Sat, Apr 18, 5:38 AM
Unknown Object (File)
Fri, Apr 17, 8:49 PM
Unknown Object (File)
Fri, Apr 17, 7:36 PM
Unknown Object (File)
Fri, Apr 17, 10:26 AM
Unknown Object (File)
Fri, Apr 17, 5:06 AM
Unknown Object (File)
Thu, Apr 16, 7:36 AM
Subscribers

Details

Summary

Add -q/--quiet flag to the command line. With it, errors are not reported at
all. Instead nothing is printed and the exit code is non-zero.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38375
Build 35264: arc lint + arc unit

Event Timeline

imp requested review of this revision.Apr 7 2021, 5:41 AM
bcr added a subscriber: bcr.

OK from manpages.

LGTM with the comments addressed.

usr.sbin/efivar/efivar.8
35

List -q here too?

usr.sbin/efivar/efivar.c
84

Presumably the short options should be updated as well?

This revision is now accepted and ready to land.Apr 7 2021, 1:23 PM

Address markj's issues.

This revision now requires review to proceed.Apr 8 2021, 10:17 PM
This revision is now accepted and ready to land.Apr 9 2021, 1:51 PM
This revision was automatically updated to reflect the committed changes.