Correction de texte français/anglais mélangé

This commit is contained in:
root 2020-04-28 00:03:35 +02:00
parent 52d09e6655
commit 27e5f69787

View File

@ -3,7 +3,7 @@
function display_help() {
echo "${0} Usage :"
echo -e "\t-u --utilisateur\tSpecify the username"
echo -e "\t-u --user\tSpecify the username"
echo -e "\t-p --password\tSpecify the password"
echo -e "\t-h or --help\tThis help"
echo ""
@ -14,7 +14,7 @@ function display_help() {
echo -e "\t\t${0} -u myuser -p mypassword -"
}
GET_OPT=`getopt -o hu:p: --long help,utilisateur:,password: -n "${0} parameters" -- "${@}"`
GET_OPT=`getopt -o hu:p: --long help,user:,password: -n "${0} parameters" -- "${@}"`
if [ ! "${?}" == "0" ] ; then
display_help
exit 1
@ -22,7 +22,7 @@ fi
eval set -- "$GET_OPT"
while true ; do
case ${1} in
-u|--utilisateur)
-u|--user)
NOM="${2}"
shift 2
;;