Difference between revisions of "Usage"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 13: Line 13:
 
* <code>[[HAS_SCHEMA_PRIVILEGE]]</code>: USAGE
 
* <code>[[HAS_SCHEMA_PRIVILEGE]]</code>: USAGE
 
* <code>[[help]]</code>
 
* <code>[[help]]</code>
 +
* [[exit 0]], [[trap]], [[set -e]]
  
 
== See also ==
 
== See also ==

Revision as of 07:51, 27 April 2022

function usage() {
    echo "Usage:" $(basename $0) Explain options here"
    exit 0
}

[ -z $1 ] && { usage; }

Related

See also

Advertising: