I have developed a commandline tool by name translator in java and I run this tool by creating a jar file and using below command
java -jar translator.jar < input1 >
now I have been asked to add a usage/ utility feature to this tool, like example how when we type java on command line it shows
usage:java [-options] class [args..]
...... etc I want to implement a similar feature for my tool . I am not understanding from where to begin as this is the first time I am working on building a command line tool.