File tree Expand file tree Collapse file tree 10 files changed +10
-11
lines changed
Expand file tree Collapse file tree 10 files changed +10
-11
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ commands:
4646tester - Sample application that uses the forced default command option
4747
4848Usage :
49- tester COMMAND
49+ tester [ COMMAND]
5050 tester [COMMAND] --help | -h
5151 tester --version | -v
5252
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ Commands:
123123 image Image commands
124124 ps List containers
125125
126- Options :
126+ Global Options :
127127 --debug, -d
128128 Enable debug mode
129129
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ Commands:
107107 image Image commands
108108 ps List containers
109109
110- Options :
110+ Global Options :
111111 --debug, -d
112112 Enable debug mode
113113
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ ISSUE TRACKER
102102AUTHORS
103103 Lana Lang.
104104
105- Version 0.1.0 March 2024 download(1)
105+ Version 0.1.0 April 2024 download(1)
106106
107107
108108````
Original file line number Diff line number Diff line change 44# Usage captions
55usage : " Usage:"
66options : " Options:"
7+ global_options : " Global Options:"
78arguments : " Arguments:"
89commands : " Commands:"
910examples : " Examples:"
Original file line number Diff line number Diff line change 11= view_marker
22
33> if [[ -n $long_usage ]]; then
4- > printf "%s\n" "{{ strings[:options].color(:caption) }}"
4+ options_caption = public_commands.any? && public_flags.any? ? strings[:global_options] : strings[:options]
5+ > printf "%s\n" "{{ options_caption.color(:caption) }}"
56>
67= render(:usage_flags).indent 2 if public_flags.any?
78= render(:usage_fixed_flags).indent 2
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ Commands:
3232 image Image commands
3333 ps List containers
3434
35- Options:
35+ Global Options:
3636 --debug, -d
3737 Enable debug mode
3838
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ Commands:
3232 image Image commands
3333 ps List containers
3434
35- Options:
35+ Global Options:
3636 --debug, -d
3737 Enable debug mode
3838
Original file line number Diff line number Diff line change 1414Commands:
1515 show
1616
17- Options:
17+ Global Options:
1818 --alpha, -a
1919 Alpha
2020
You can’t perform that action at this time.
0 commit comments