-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4082 from Calder-Ty/bugfix/3861
fix: Show possible values in generated man file
- Loading branch information
Showing
9 changed files
with
184 additions
and
1 deletion.
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
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
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
.ie /n(.g .ds Aq /(aq | ||
.el .ds Aq ' | ||
.TH my-app 1 "my-app " | ||
.SH NAME | ||
my/-app | ||
.SH SYNOPSIS | ||
/fBmy/-app/fR [/fB/-/-choice/fR] [/fB/-/-method/fR] [/fB/-h/fR|/fB/-/-help/fR] [/fIpositional_choice/fR] | ||
.SH DESCRIPTION | ||
.SH OPTIONS | ||
.TP | ||
/fB/-/-choice/fR | ||
|
||
.br | ||
[/fIpossible values: /fRbash, fish, zsh] | ||
.TP | ||
/fB/-/-method/fR | ||
|
||
.br | ||
/fIPossible values:/fR | ||
.RS 14 | ||
.IP /(bu 2 | ||
fast: use the Fast method | ||
.IP /(bu 2 | ||
slow: use the slow method | ||
.RE | ||
.TP | ||
/fB/-h/fR, /fB/-/-help/fR | ||
Print help information | ||
.TP | ||
[/fIpositional_choice/fR] | ||
Pick the Position you want the command to run in | ||
.br | ||
|
||
.br | ||
/fIPossible values:/fR | ||
.RS 14 | ||
.IP /(bu 2 | ||
left: run left adjusted | ||
.IP /(bu 2 | ||
right | ||
.RE |
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
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 |
---|---|---|
|
@@ -10,6 +10,8 @@ my/-app | |
.TP | ||
/fB/-/-choice/fR | ||
|
||
.br | ||
[/fIpossible values: /fRbash, fish, zsh] | ||
.TP | ||
/fB/-/-unknown/fR | ||
|
||
|
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