From 27e5f69787a8dad33ca5d3451a05c0e794ff3216 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 28 Apr 2020 00:03:35 +0200 Subject: [PATCH] =?UTF-8?q?Correction=20de=20texte=20fran=C3=A7ais/anglais?= =?UTF-8?q?=20m=C3=A9lang=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sms/freesms | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sms/freesms b/sms/freesms index fb0cce5..bbcbe37 100755 --- a/sms/freesms +++ b/sms/freesms @@ -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 ;;