-
Notifications
You must be signed in to change notification settings - Fork 54
Implement setfont --quiet #152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -242,6 +242,10 @@ map even if the specified map is empty. This may be useful in unusual cases. | |
| \fB\-R\fR, \fB\-\-reset\fR | ||
| Reset the screen font, size, and Unicode mapping to the bootup defaults. | ||
| .TP | ||
| \fB\-v\fR, \fB\-\-quiet\fR | ||
| If kernel cannot load font, do not log error. This prevents ugly errors | ||
| with systemd try-and-fail detection of a fully initialized console. | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you remove this mention of systemd from the option description? The documentation should describe what the option does, not where the option can be used. But actually, this utility does not do what is written here. See below. |
||
| .TP | ||
| \fB\-v\fR, \fB\-\-verbose\fR | ||
| Be verbose. | ||
| .TP | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,6 +20,7 @@ | |
|
|
||
| struct kfont_context { | ||
| const char *progname; | ||
| int quiet; | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You don't need a new flag and function to display it. All you need to do is |
||
| int verbose; | ||
| kfont_logger_t log_fn; | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The short option should be
-q, not-v.