Page MenuHomeFreeBSD

efivar: Add --quiet to not report errors
ClosedPublic

Authored by imp on Apr 7 2021, 5:41 AM.
Tags
None
Referenced Files
F140705084: D29619.id86940.diff
Sat, Dec 27, 2:42 AM
Unknown Object (File)
Fri, Dec 12, 1:43 PM
Unknown Object (File)
Nov 27 2025, 9:35 AM
Unknown Object (File)
Nov 19 2025, 6:15 PM
Unknown Object (File)
Nov 9 2025, 5:17 PM
Unknown Object (File)
Nov 3 2025, 3:18 AM
Unknown Object (File)
Nov 3 2025, 3:17 AM
Unknown Object (File)
Nov 3 2025, 3:16 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
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.