Page MenuHomeFreeBSD

efivar: Add --quiet to not report errors
ClosedPublic

Authored by imp on Apr 7 2021, 5:41 AM.
Tags
None
Referenced Files
F149170343: D29619.diff
Sun, Mar 22, 6:00 PM
F149113534: D29619.id.diff
Sun, Mar 22, 8:55 AM
Unknown Object (File)
Sat, Mar 21, 10:00 PM
Unknown Object (File)
Tue, Mar 17, 8:32 AM
Unknown Object (File)
Mon, Mar 16, 2:52 PM
Unknown Object (File)
Mon, Mar 16, 1:34 AM
Unknown Object (File)
Sun, Mar 15, 7:39 PM
Unknown Object (File)
Feb 13 2026, 3:24 PM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.