From 039ab1cb379fc2ab91e8b3a50ed0f62261b8d6d1 Mon Sep 17 00:00:00 2001 From: Danny Ben Shitrit Date: Thu, 7 Dec 2023 05:34:39 +0000 Subject: [PATCH] - Fix example in `bashly doc flag.arg` --- examples/render-mandoc/docs/download.1 | 2 +- examples/render-mandoc/docs/download.md | 2 +- lib/bashly/docs/flag.yml | 7 ++++--- spec/approvals/cli/doc/full | 7 ++++--- spec/approvals/examples/render-mandoc | 2 +- 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/examples/render-mandoc/docs/download.1 b/examples/render-mandoc/docs/download.1 index dc6fe192..bd9a2656 100644 --- a/examples/render-mandoc/docs/download.1 +++ b/examples/render-mandoc/docs/download.1 @@ -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 diff --git a/examples/render-mandoc/docs/download.md b/examples/render-mandoc/docs/download.md index cb0d15b0..a1f039cd 100644 --- a/examples/render-mandoc/docs/download.md +++ b/examples/render-mandoc/docs/download.md @@ -1,6 +1,6 @@ % download(1) Version 0.1.0 | Sample application % Lana Lang -% November 2023 +% December 2023 NAME ================================================== diff --git a/lib/bashly/docs/flag.yml b/lib/bashly/docs/flag.yml index a3463960..0e6dd3a8 100644 --- a/lib/bashly/docs/flag.yml +++ b/lib/bashly/docs/flag.yml @@ -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`. diff --git a/spec/approvals/cli/doc/full b/spec/approvals/cli/doc/full index f4776dad..ccf6a461 100644 --- a/spec/approvals/cli/doc/full +++ b/spec/approvals/cli/doc/full @@ -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 diff --git a/spec/approvals/examples/render-mandoc b/spec/approvals/examples/render-mandoc index 7f8358df..c964215c 100644 --- a/spec/approvals/examples/render-mandoc +++ b/spec/approvals/examples/render-mandoc @@ -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)