From 3d02cf31eec1c984f066714a1e19b867456b12e2 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jul 23 2011 02:28:38 +0000 Subject: Update `help_getOptions.sh': - Add `--update-structure' option. This option executes `texinfo_updateStructureSection' functionality to update menus, nodes, and cross references related to section entries inside the manual. - Rename `--update' option to `--update-output'. --- diff --git a/Scripts/Functions/Help/help_getOptions.sh b/Scripts/Functions/Help/help_getOptions.sh index 1c791f9..ee0ee65 100755 --- a/Scripts/Functions/Help/help_getOptions.sh +++ b/Scripts/Functions/Help/help_getOptions.sh @@ -30,7 +30,7 @@ function help_getOptions { local ARGSS="" # Define long options we want to support. - local ARGSL="quiet,answer-yes,dont-commit-changes,backend:,read,search:,edit,update,copy,delete,rename" + local ARGSL="quiet,answer-yes,dont-commit-changes,backend:,read,search:,edit,update-output,copy,delete,rename,update-structure" # Parse arguments using getopt(1) command parser. cli_parseArguments @@ -94,10 +94,15 @@ function help_getOptions { shift 1 ;; - --update ) + --update-output ) ACTIONNAM="updateOutputFiles" shift 1 ;; + + --update-structure ) + ACTIONNAM="updateStructureSection" + shift 1 + ;; --read ) ACTIONNAM="searchNode"