Giving users the option to not use the password on the command line

This will improve security as the password is not visible on the command line or in the shell's command history.

The option to still use a command line password is still there, in case somebody wants to use it in another script, in which case a prompt is not an option.