title: Add usage content in shell script without getopts
body: <p>I have script where i need to display usage command in case user miss any mandatory information while executing script.</p>
  
  <pre><code>Usage : Script -s &lt;server&gt; -i &lt;instance&gt; -u &lt;user&gt; -p &lt;password&gt; &lt;query&gt; -w &lt;warning value&gt; -c &lt;critical value&gt;
  </code></pre>
  
  <p>With explanation about all the <code>OPTIONS</code> </p>
  
  <p>I'm getting values from arguments as below variables fashion. But I want this usage with validations in shell script.</p>
  
  <pre><code>SERVER=$1
  INSTANCE=$2
  USER=$3
  DB_PASSWD=$4
  QUERY=$5
  VAL_WARN=$6
  VAL_CRIT=$7
  </code></pre>
  
  <p>I have tried using getopts, But failed to use since <code>&lt;query&gt;</code> doesn't have a <code>-q</code> parameter before  passing the value.</p>
  
  <p>I have tried finding all other ways, But everyone suggested getopts which is not feasible solution for me.</p>
  
  <p>Please help me on this..</p>