summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorAyush Agarwal <ayush@fastmail.in>2021-09-08 00:11:19 +0530
committerAyush Agarwal <ayush@fastmail.in>2021-09-08 00:11:19 +0530
commitc1530dbf24d7a5203915706c584720d1ed9cd26a (patch)
treee1a0ddf6e6bae74170cc630467c7fe42d04d688f /LICENSE
parent683692a48b8b379e418062f4366c344c264b0996 (diff)
moved the getopts loop to the main function
There's no need to have the getopts loop outside the main function. The main function can be called as `main "$@"` to accept positional parameters as input which then goes on to `getopts` which, by default, uses `"$@"` unless a positional parameters is explicitly given.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions