Difference between revisions of "Usage"
Jump to navigation
Jump to search
(Created page with " == Related == * <code>if</code>") |
|||
(17 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
+ | * [[Amazon Redshift: show permissions]] (<code>[[has_schema_privilege]]</code>) | ||
− | + | function usage() { | |
+ | echo "Usage: $([[basename]] $0) Explain options here" | ||
+ | [[exit 0]] | ||
+ | } | ||
+ | |||
+ | [[ [[-z]] $1 ]] && { [[usage]]; } | ||
== Related == | == Related == | ||
* <code>[[if]]</code> | * <code>[[if]]</code> | ||
+ | * <code>[[HAS_SCHEMA_PRIVILEGE]]</code>: USAGE | ||
+ | * <code>[[help]]</code> | ||
+ | * [[exit 0]], [[trap]], [[set -e]] | ||
+ | * [[test]] | ||
+ | * [[set]] | ||
+ | |||
+ | == See also == | ||
+ | * {{set}} | ||
+ | * {{if}} | ||
+ | * {{argparse}} | ||
+ | |||
+ | [[Category:Computing]] |
Latest revision as of 10:24, 3 September 2022
Advertising: