Command line arguments inputs

This is question number 6 in lab command line arguments.

This hint is saying as syntax issue in which the arguments are used for the usermod command.
I tried all arguments for usermod but still getting an error message. Please help

it should be usermod -s $new_shell $user_name not usermod -s $user_name $new_shell

I’m having the same problem; the error tells me it can’t see the -s in the script. Changing the order for $new_shell $user_name had no effect.

\\

some time later:…
The usermod option requires the next argument to be the login followed by the shell, but that isn’t what the lab told us to do and it worked?