nk412 / optparse

Simple command line arguments parser for BASH

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't show the command usage message when no arguments are passed

mani098 opened this issue · comments

commented

Eg; ./zkcomp (without passing any arguments, it doesn't validate options)

commented

Dealing with missing arguments should be responsibility of the script. Default values can be set for all the arguments. In your case, you probably should check for empty variables and then exit out with instructions to run with --help.