i'm tring to run argument from ubuntu console.
./myTool -h
and all i get is only the print of "1".
someone can help please ?
thanks !
public static void main(String[] argv) throws Exception
{
    System.out.println("1");
    for(int i=0;i<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");
        }
}
 
     
     
     
     
    