Commit 8b01029 1 parent b30d2aa commit 8b01029 Copy full SHA for 8b01029
File tree 3 files changed +2
-2
lines changed
3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ Each of these examples demonstrates one aspect or feature of bashly.
38
38
- [ filters] ( filters#readme ) - preventing commands from running unless custom conditions are met
39
39
- [ commands-expose] ( commands-expose#readme ) - showing sub-commands in the parent's help
40
40
- [ key-value-pairs] ( key-value-pairs#readme ) - parsing key=value arguments and flags
41
+ - [ command-examples-on-error] ( command-examples-on-error#readme ) - showing examples on error
41
42
42
43
## Customization
43
44
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ if Settings.show_examples_on_error && examples.any?
3
3
4
4
> printf "{{ strings[:examples_caption_on_error] }}\n" >&2
5
5
examples.each do |example|
6
- > printf "{{ example.wrap(78).indent(2).sanitize_for_print }}\n" >&2
6
+ > printf "{{ example.wrap(78).indent(2).sanitize_for_print }}\n" >&2
7
7
end
8
8
end
Original file line number Diff line number Diff line change 627
627
expect ( subject . default_command . usage_string ) . to eq 'cli [get]'
628
628
end
629
629
end
630
-
631
630
end
632
631
633
632
describe '#user_file_path' do
You can’t perform that action at this time.
0 commit comments