-
-
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.
test(mangen): Add test for flatten_help
This test shows that the output stays the same independent of the value of `flatten_help`. Further commits may implement `flatten_help` for `clap_mangen`. Signed-off-by: Paul Spooren <[email protected]>
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
.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\-c \fR] [\fB\-v \fR] [\fB\-h\fR|\fB\-\-help\fR] [\fIsubcommands\fR] | ||
.SH DESCRIPTION | ||
.SH OPTIONS | ||
.TP | ||
\fB\-c\fR | ||
|
||
.TP | ||
\fB\-v\fR | ||
|
||
.TP | ||
\fB\-h\fR, \fB\-\-help\fR | ||
Print help | ||
.SH SUBCOMMANDS | ||
.TP | ||
my\-app\-test(1) | ||
Subcommand | ||
with a second line | ||
.TP | ||
my\-app\-help(1) | ||
Print this message or the help of the given subcommand(s) |
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