mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 15:33:50 +02:00
function: add short example (#17284)
This commit is contained in:
parent
7ff25d7b28
commit
c5210d9d7c
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,10 @@
|
|||
|
||||
`func_name`
|
||||
|
||||
- Define a function without the `function` keyword:
|
||||
|
||||
`{{func_name}}() { {{echo "Function contents here"}}; }`
|
||||
|
||||
- Display help:
|
||||
|
||||
`help function`
|
||||
|
|
Loading…
Add table
Reference in a new issue