Skip to content

Commit

Permalink
- Fix example in bashly doc flag.arg
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyBen committed Dec 7, 2023
1 parent 11eb7aa commit 039ab1c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/render-mandoc/docs/download.1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
. ftr VB CB
. ftr VBI CBI
.\}
.TH "download" "1" "November 2023" "Version 0.1.0" "Sample application"
.TH "download" "1" "December 2023" "Version 0.1.0" "Sample application"
.hy
.SH NAME
.PP
Expand Down
2 changes: 1 addition & 1 deletion examples/render-mandoc/docs/download.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% download(1) Version 0.1.0 | Sample application
% Lana Lang
% November 2023
% December 2023

NAME
==================================================
Expand Down
7 changes: 4 additions & 3 deletions lib/bashly/docs/flag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ flag.arg:
url: https://bashly.dannyb.co/configuration/flag/#arg
example: |-
flags:
- long: --ssh
short: -s
help: Clone using SSH
- long: --user
short: -u
arg: name
help: Specify the user name
flag.completions:
help: Specify a list of additional completion suggestions when used in conjunction with `bashly add completions`. Must be accompanied by `arg`.
Expand Down
7 changes: 4 additions & 3 deletions spec/approvals/cli/doc/full
Original file line number Diff line number Diff line change
Expand Up @@ -593,9 +593,10 @@ flag.arg
Specify the name of the argument for this flag, in case it requires any.

flags:
- long: --ssh
short: -s
help: Clone using SSH
- long: --user
short: -u
arg: name
help: Specify the user name

See https://bashly.dannyb.co/configuration/flag/#arg

Expand Down
2 changes: 1 addition & 1 deletion spec/approvals/examples/render-mandoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ ISSUE TRACKER
AUTHORS
Lana Lang.

Version 0.1.0 November 2023 download(1)
Version 0.1.0 December 2023 download(1)

0 comments on commit 039ab1c

Please sign in to comment.