Remove password parser
This commit is contained in:
parent
492e906432
commit
26fa3016fd
@ -119,14 +119,6 @@ while :; do
|
|||||||
die 'ERROR: "-u|--user" requires a non-empty option argument.'
|
die 'ERROR: "-u|--user" requires a non-empty option argument.'
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
-p|--password) # Takes an option argument; ensure it has been specified.
|
|
||||||
if [ "$2" ]; then
|
|
||||||
NEW_PASSWORD=$2
|
|
||||||
shift
|
|
||||||
else
|
|
||||||
die 'ERROR: "-u|--user" requires a non-empty option argument.'
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
--) # End of all options.
|
--) # End of all options.
|
||||||
shift
|
shift
|
||||||
break
|
break
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user