title: Print argument from Console
body: <p>i'm tring to run argument from ubuntu console.</p>
  
  <blockquote>
    <p>./myTool -h</p>
  </blockquote>
  
  <p>and all i get is only the print of "1".</p>
  
  <p>someone can help please ?</p>
  
  <p>thanks !</p>
  
  <pre><code>public static void main(String[] argv) throws Exception
  {
  
      System.out.println("1");
      for(int i=0;i&lt;argv.length;i++)
      {
          if (argv.equals("-h"))
          {
              System.out.println("-ip   target ip address\n");
              System.out.println("-t    time interval between each scan in milliseconds\n");
              System.out.println("-p    protocol type [UDP/TCP/ICMP]\n");
              System.out.println("-type scan type [full,stealth,fin,ack]\n");
              System.out.println("-b    bannerGrabber status\n");
  
          }
  </code></pre>
  
  <p>}</p>