Skip to content

Commit

Permalink
(fix) Update -n to -k in the getopts string for correct handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhinavcode13 authored Jul 6, 2024
1 parent e6bb375 commit 8f942ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mojafos/commandline/commandline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Options:
function getoptions {
local mode_opt

while getopts "m:n:d:a:f:e:u:hH" OPTION ; do
while getopts "m:k:d:a:f:e:u:hH" OPTION ; do
case "${OPTION}" in
m) mode_opt="${OPTARG}"
;;
Expand Down Expand Up @@ -129,4 +129,4 @@ function main {
###########################################################################
# CALL TO MAIN
###########################################################################
main "$@"
main "$@"

0 comments on commit 8f942ef

Please sign in to comment.