Skip to content

Commit 80f2031

Browse files
committed
fix stacktrace example readme
1 parent 52073cc commit 80f2031

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

examples/stacktrace/README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ $ bashly generate
1313
$ bashly generate
1414
```
1515

16-
<!-- include: src/initialize.sh -->
17-
<!-- include: src/root_command.sh -->
16+
<!-- include: src/initialize.sh src/root_command.sh -->
1817

1918
-----
2019

@@ -56,6 +55,14 @@ set -o errtrace
5655

5756
````
5857

58+
## `src/root_command.sh`
59+
60+
````bash
61+
## trigger an error by calling a function that does not exist
62+
no_such_command
63+
64+
````
65+
5966

6067
## Output
6168

0 commit comments

Comments
 (0)