diff --git a/Manuals/en/Html/Repository/repository_40.html b/Manuals/en/Html/Repository/repository_40.html index b7a7f6c..f9e434d 100644 --- a/Manuals/en/Html/Repository/repository_40.html +++ b/Manuals/en/Html/Repository/repository_40.html @@ -593,8 +593,11 @@ inside `centos-art.sh' script.
Function: cli_checkActionArguments
-

Validate action value (ACTIONVAL) variable. -cli_checkActionArguments is called from +

Validate action value (ACTIONVAL) variable. +

+

cli_checkActionArguments is called from +cli_getActionArguments function. Probably, there is not other +use for cli_checkActionArguments but to be called from cli_getActionArguments function.

@@ -701,13 +704,35 @@ copy as you may need to.
Function: cli_doParseArguments
- +

Redefines arguments (ARGUMENTS) global variable using +getopt command output. For more information about how to use +cli_doParseArguments function, see ARGUMENTS variable +description above. +

-
Function: cli_doParseArgumentsReDef +
Function: cli_doParseArgumentsReDef [$@]
-
+

Initialize/reset arguments (ARGUMENTS) global variable using +positional parameters variable ($@) as reference. +

+

When you use cli_doParseArgumentsReDef inside some function, +the positional parameters variable ($@) is automatically reset +to that function positional parameters, not the command-line +positional parameters. +

+

If you need to redefine specific positional parameters from one +specific function, you need to call cli_doParseArgumentsReDef +with the positional parameters variable ($@), set as first +argument, to that specific function you want to redefine positional +parameters on. +

+

In order to use positional paramenters passed as command-line, we use +the ARGUMENTS global variable which is defined at cli +function, and ocasionally, farther redefined (by +cli_doParseArgumentsReDef) as long as it may be convenient. +

Function: cli_getActionArguments diff --git a/Manuals/en/Info/Repository/repository.info.bz2 b/Manuals/en/Info/Repository/repository.info.bz2 index a260621..3cea4c9 100644 Binary files a/Manuals/en/Info/Repository/repository.info.bz2 and b/Manuals/en/Info/Repository/repository.info.bz2 differ diff --git a/Manuals/en/Plaintext/Repository/repository.txt b/Manuals/en/Plaintext/Repository/repository.txt index aa63daf..aecd8df 100644 --- a/Manuals/en/Plaintext/Repository/repository.txt +++ b/Manuals/en/Plaintext/Repository/repository.txt @@ -3244,8 +3244,11 @@ introductory information to global functions you can use inside -- Function: cli_checkActionArguments Validate action value (ACTIONVAL) variable. + `cli_checkActionArguments' is called from `cli_getActionArguments' - function. + function. Probably, there is not other use for + `cli_checkActionArguments' but to be called from + `cli_getActionArguments' function. -- Function: cli_checkFiles FILE [TYPE] Verify file existence. @@ -3333,8 +3336,30 @@ introductory information to global functions you can use inside working copy as you may need to. -- Function: cli_doParseArguments - - -- Function: cli_doParseArgumentsReDef + Redefines arguments (ARGUMENTS) global variable using `getopt' + command output. For more information about how to use + `cli_doParseArguments' function, see ARGUMENTS variable + description above. + + -- Function: cli_doParseArgumentsReDef [$@] + Initialize/reset arguments (ARGUMENTS) global variable using + positional parameters variable ($@) as reference. + + When you use `cli_doParseArgumentsReDef' inside some function, the + positional parameters variable ($@) is automatically reset to that + function positional parameters, not the command-line positional + parameters. + + If you need to redefine specific positional parameters from one + specific function, you need to call `cli_doParseArgumentsReDef' + with the positional parameters variable ($@), set as first + argument, to that specific function you want to redefine positional + parameters on. + + In order to use positional paramenters passed as command-line, we + use the ARGUMENTS global variable which is defined at `cli' + function, and ocasionally, farther redefined (by + `cli_doParseArgumentsReDef') as long as it may be convenient. -- Function: cli_getActionArguments @@ -5984,24 +6009,24 @@ Index ***** branches: See 1. (line 390) -Common translation files: See 3.50.2.5. (line 5413) -How to render brands' translation files: See 3.52.3. (line 5717) -How to render fonts' translation files: See 3.54.3. (line 5790) -How to render translation files: See 3.50.3. (line 5583) -Metadata maintainance: See 3.45.2. (line 4557) -Specific translation files: See 3.50.2.6. (line 5438) +Common translation files: See 3.50.2.5. (line 5438) +How to render brands' translation files: See 3.52.3. (line 5742) +How to render fonts' translation files: See 3.54.3. (line 5815) +How to render translation files: See 3.50.3. (line 5608) +Metadata maintainance: See 3.45.2. (line 4582) +Specific translation files: See 3.50.2.6. (line 5463) tags: See 2. (line 393) -Template translation files: See 3.50.2.4. (line 5243) -Translation brands file names: See 3.52.2.1. (line 5674) -Translation configuration scripts: See 3.50.2.8. (line 5472) -Translation entries: See 3.50.2.1. (line 5059) -Translation files: See 3.50.2.3. (line 5175) -Translation markers: See 3.50.2.2. (line 5140) -Translation paths: See 3.50.2.1. (line 5059) +Template translation files: See 3.50.2.4. (line 5268) +Translation brands file names: See 3.52.2.1. (line 5699) +Translation configuration scripts: See 3.50.2.8. (line 5497) +Translation entries: See 3.50.2.1. (line 5084) +Translation files: See 3.50.2.3. (line 5200) +Translation markers: See 3.50.2.2. (line 5165) +Translation paths: See 3.50.2.1. (line 5084) Translation pre-rendering configuration scripts:See 3.50.2.8. - (line 5472) -Translation rendering: See 3.50.2.7. (line 5461) -Translation rendering default functionality: See 3.50.2.9. (line 5558) + (line 5497) +Translation rendering: See 3.50.2.7. (line 5486) +Translation rendering default functionality: See 3.50.2.9. (line 5583) trunk: See 3. (line 396) trunk Identity: See 3.1. (line 399) trunk Identity Brands: See 3.2. (line 819) @@ -6046,31 +6071,31 @@ trunk Manuals: See 3.34. (line 2579) trunk Scripts: See 3.35. (line 2633) trunk Scripts Bash: See 3.36. (line 2657) trunk Scripts Bash Functions: See 3.37. (line 2769) -trunk Scripts Bash Functions Html: See 3.38. (line 3648) -trunk Scripts Bash Functions Locale: See 3.39. (line 3669) -trunk Scripts Bash Functions Manual: See 3.40. (line 3749) -trunk Scripts Bash Functions Path: See 3.41. (line 3770) -trunk Scripts Bash Functions Render: See 3.42. (line 4172) -trunk Scripts Bash Functions Render Config: See 3.43. (line 4193) -trunk Scripts Bash Functions Shell: See 3.44. (line 4371) -trunk Scripts Bash Functions Svg: See 3.45. (line 4539) -trunk Scripts Bash Functions Verify: See 3.46. (line 4727) -trunk Scripts Bash Locale: See 3.47. (line 4943) -trunk Scripts Perl: See 3.48. (line 4972) -trunk Scripts Python: See 3.49. (line 4989) -trunk Translations: See 3.50. (line 5010) -trunk Translations Identity: See 3.51. (line 5612) -trunk Translations Identity Brands: See 3.52. (line 5633) -trunk Translations Identity Brands Tpl: See 3.53. (line 5728) -trunk Translations Identity Fonts: See 3.54. (line 5743) -trunk Translations Identity Models: See 3.55. (line 5806) -trunk Translations Identity Release: See 3.56. (line 5821) -trunk Translations Identity Themes: See 3.57. (line 5836) -trunk Translations Identity Themes Backgrounds:See 3.58. (line 5851) +trunk Scripts Bash Functions Html: See 3.38. (line 3673) +trunk Scripts Bash Functions Locale: See 3.39. (line 3694) +trunk Scripts Bash Functions Manual: See 3.40. (line 3774) +trunk Scripts Bash Functions Path: See 3.41. (line 3795) +trunk Scripts Bash Functions Render: See 3.42. (line 4197) +trunk Scripts Bash Functions Render Config: See 3.43. (line 4218) +trunk Scripts Bash Functions Shell: See 3.44. (line 4396) +trunk Scripts Bash Functions Svg: See 3.45. (line 4564) +trunk Scripts Bash Functions Verify: See 3.46. (line 4752) +trunk Scripts Bash Locale: See 3.47. (line 4968) +trunk Scripts Perl: See 3.48. (line 4997) +trunk Scripts Python: See 3.49. (line 5014) +trunk Translations: See 3.50. (line 5035) +trunk Translations Identity: See 3.51. (line 5637) +trunk Translations Identity Brands: See 3.52. (line 5658) +trunk Translations Identity Brands Tpl: See 3.53. (line 5753) +trunk Translations Identity Fonts: See 3.54. (line 5768) +trunk Translations Identity Models: See 3.55. (line 5831) +trunk Translations Identity Release: See 3.56. (line 5846) +trunk Translations Identity Themes: See 3.57. (line 5861) +trunk Translations Identity Themes Backgrounds:See 3.58. (line 5876) trunk Translations Identity Themes Distro Anaconda Progress:See 3.59. - (line 5872) -trunk Translations Identity Widgets: See 3.60. (line 5965) -Unused definitions: See 3.45.2.1. (line 4664) + (line 5897) +trunk Translations Identity Widgets: See 3.60. (line 5990) +Unused definitions: See 3.45.2.1. (line 4689) List of Figures *************** diff --git a/Manuals/en/Texinfo/Repository/trunk/Scripts/Bash/Functions.texi b/Manuals/en/Texinfo/Repository/trunk/Scripts/Bash/Functions.texi index b38e561..1cf828a 100644 --- a/Manuals/en/Texinfo/Repository/trunk/Scripts/Bash/Functions.texi +++ b/Manuals/en/Texinfo/Repository/trunk/Scripts/Bash/Functions.texi @@ -506,8 +506,11 @@ provides introductory information to global functions you can use inside @file{centos-art.sh} script. @defun cli_checkActionArguments -Validate action value (ACTIONVAL) variable. +Validate action value (@var{ACTIONVAL}) variable. + @code{cli_checkActionArguments} is called from +@code{cli_getActionArguments} function. Probably, there is not other +use for @code{cli_checkActionArguments} but to be called from @code{cli_getActionArguments} function. @end defun @@ -601,9 +604,31 @@ copy as you may need to. @end defun @defun cli_doParseArguments +Redefines arguments (@var{ARGUMENTS}) global variable using +@command{getopt} command output. For more information about how to use +@code{cli_doParseArguments} function, see @var{ARGUMENTS} variable +description above. @end defun -@defun cli_doParseArgumentsReDef +@defun cli_doParseArgumentsReDef [$@@] +Initialize/reset arguments (@var{ARGUMENTS}) global variable using +positional parameters variable (@var{$@@}) as reference. + +When you use @command{cli_doParseArgumentsReDef} inside some function, +the positional parameters variable (@var{$@@}) is automatically reset +to that function positional parameters, not the command-line +positional parameters. + +If you need to redefine specific positional parameters from one +specific function, you need to call @code{cli_doParseArgumentsReDef} +with the positional parameters variable (@var{$@@}), set as first +argument, to that specific function you want to redefine positional +parameters on. + +In order to use positional paramenters passed as command-line, we use +the @var{ARGUMENTS} global variable which is defined at @code{cli} +function, and ocasionally, farther redefined (by +@code{cli_doParseArgumentsReDef}) as long as it may be convenient. @end defun @defun cli_getActionArguments