Skip to content

Commit b05bcbd

Browse files
authored
declare: add example (#17685)
1 parent 5e238bf commit b05bcbd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pages/common/declare.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,7 @@
3030
- Print a function definition:
3131

3232
`declare -f {{function_name}}`
33+
34+
- Print a variable definition:
35+
36+
`declare -p {{variable_name}}`

0 commit comments

Comments
 (0)