mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-23 21:03:53 +02:00
declare: add example (#17685)
This commit is contained in:
parent
5e238bf766
commit
b05bcbd6b5
1 changed files with 4 additions and 0 deletions
|
@ -30,3 +30,7 @@
|
|||
- Print a function definition:
|
||||
|
||||
`declare -f {{function_name}}`
|
||||
|
||||
- Print a variable definition:
|
||||
|
||||
`declare -p {{variable_name}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue