forked from jwilk/ubanner
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,15 @@ | |
# Copyright © 2024 Christopher Bock <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
|
||
# SHA-256(help) = 3b402f915db43ab07d8699098cf5746bc6ce7768d32cf74cc9dac4b5ea3ee78b | ||
# SHA-256(help) = ddbff3e9b1bb9b9d8f33022c1d7f768f8325d23f595fc48c34438bd4b8301d0e | ||
|
||
local arguments | ||
|
||
arguments=( | ||
'--trim[trim leading/trailing empty lines]' | ||
'(-f --font)'{-f,--font}'[use this font face]:font:->fonts' | ||
+ '(fs)' | ||
'(-s --font-size)'{-s,--font-size}'[font size in pixels]: :_numbers -d28 -l14 -m280' | ||
'(-s --font-size)'{-s,--font-size}'[font size in pixels]: :_numbers -d32 -l16 -m320' | ||
'(-S --full-screen)'{-S,--full-screen}'[max font size to fit terminal window]' | ||
+ '(excl)' | ||
{-h,--help}'[show help]' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
.\" Copyright © 2024 Jakub Wilk <[email protected]> | ||
.\" SPDX-License-Identifier: MIT | ||
|
||
.\" SHA-256(help) = 3b402f915db43ab07d8699098cf5746bc6ce7768d32cf74cc9dac4b5ea3ee78b | ||
.\" SHA-256(help) = ddbff3e9b1bb9b9d8f33022c1d7f768f8325d23f595fc48c34438bd4b8301d0e | ||
|
||
.TH UBANNER 1 2024-03-23 "ubanner 0.1" | ||
.SH NAME | ||
|
@@ -43,7 +43,7 @@ Set font face to | |
.BR \-s ", " \-\-font\-size " \fIN\fP" | ||
Set font size to | ||
.IR N " pixels." | ||
The default is 28. | ||
The default is 32. | ||
.TP | ||
.BR \-S ", " \-\-full\-screen | ||
Use the maximum font size to fit the terminal window. | ||
|
@@ -58,7 +58,7 @@ Show help message and exit. | |
Show version information and exit. | ||
.SH EXAMPLE | ||
.EX | ||
$ ubanner \-f \(aqDejaVu Sans\(aq \-s 32 $\(aqd\eu0361\eu0292\(aq | ||
$ ubanner \-f \(aqDejaVu Sans\(aq $\(aqd\eu0361\eu0292\(aq | ||
+++********+++ | ||
+*#####**********#####*+ | ||
##*+ ++*## | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters