Difference between revisions of "Usage"
Jump to navigation
Jump to search
(Created page with " == Related == * <code>if</code>") |
|||
Line 1: | Line 1: | ||
+ | function [[usage]]() { | ||
+ | echo "Usage:" $(basename $0) Explain options here" | ||
+ | [[exit 0]] | ||
+ | } | ||
+ | |||
+ | [ [[-z]] $1 ] && { [[usage]]; } | ||
== Related == | == Related == | ||
* <code>[[if]]</code> | * <code>[[if]]</code> |
Revision as of 14:54, 13 November 2021
Advertising: