1
0
Fork 0
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:
Managor 2025-07-20 19:23:38 +03:00 committed by GitHub
parent 7ff25d7b28
commit c5210d9d7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,6 +11,10 @@
`func_name`
- Define a function without the `function` keyword:
`{{func_name}}() { {{echo "Function contents here"}}; }`
- Display help:
`help function`