Difference between revisions of "Usage"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
  
 
  function usage() {
 
  function usage() {
     echo "Usage:" $([[basename]] $0) Explain options here"
+
     echo "Usage: $([[basename]] $0) Explain options here"
 
     [[exit 0]]
 
     [[exit 0]]
 
  }
 
  }
 
   
 
   
  [ [[-z]] $1 ] && { [[usage]]; }
+
  [[ [[-z]] $1 ]] && { [[usage]]; }
  
 
== Related ==
 
== Related ==

Latest revision as of 10:24, 3 September 2022

Advertising: