From ff1143e186c1841080ecd66de92255e899c7a1f7 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jan 05 2011 03:18:35 +0000 Subject: Update cli.sh. --- diff --git a/Scripts/Bash/Functions/cli.sh b/Scripts/Bash/Functions/cli.sh index d4eb5b1..552dab6 100644 --- a/Scripts/Bash/Functions/cli.sh +++ b/Scripts/Bash/Functions/cli.sh @@ -5,7 +5,7 @@ # functions. The cli function is the first script executed by # centos-art command-line onces invoked. # -# Copyright (C) 2009-2011 Alain Reguera Delgado +# Copyright (C) 2009-2011 Alain Reguera Delgado # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as @@ -39,6 +39,16 @@ function cli { local REGEX='' local ARGUMENTS='' + # Define default value to verbosity flag. The verbosity flag + # (--quiet) controls wether centos-art.sh script prints messages + # or not. + local FLAG_QUIET='false' + + # Define default value to answer flag. The answer flag (--yes) + # controls wether centos-art.sh script does or does not pass + # confirmation request points. + local FLAG_YES='false' + # Redefine positional parameters stored inside ARGUMENTS variable. cli_doParseArgumentsReDef "$@"