Sitelet https://github.com/lingtalfi/bashmanager/commit/e8047c9ccc76bd99dbb631898eb80326c1a8dbb0
Skip to content

Commit e8047c9

Browse files
committed
fix typo2
1 parent b75c8bb commit e8047c9

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎code/bash_manager_core-1.06.sh‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -900,17 +900,11 @@ do
900900
done < <(printConfigLines "$configDefaults")
901901

902902

903-
for key in "${!CONFIG_OPTIONS[@]}"; do
904-
_CONFIG["$key"]="${CONFIG_OPTIONS[$key]}"
905-
done
906-
907-
908903
# we will add a special _HOME value for the tasks
909904
_CONFIG[_HOME]="$_home"
910905

911906

912907

913-
914908
#----------------------------------------
915909
# Spread special internal variables
916910
#----------------------------------------
@@ -936,6 +930,15 @@ createExpandedCommandLine "$@"
936930
processCommandLine "${EXPANDED_ARGS[@]}"
937931

938932

933+
#----------------------------------------
934+
# Prepare _CONFIG from command line options
935+
#----------------------------------------
936+
for key in "${!CONFIG_OPTIONS[@]}"; do
937+
_CONFIG["$key"]="${CONFIG_OPTIONS[$key]}"
938+
done
939+
940+
941+
939942

940943

941944

@@ -1139,7 +1142,6 @@ for configFile in "${CONFIG_FILES[@]}"; do
11391142

11401143

11411144

1142-
11431145
# 1.02: override task's _VALUE from command line options
11441146
#
11451147
# the format is:
@@ -1166,8 +1168,6 @@ for configFile in "${CONFIG_FILES[@]}"; do
11661168

11671169
fi
11681170
done
1169-
# dumpAssoc "CONFIG"
1170-
11711171

11721172
CONFIG[_VALUE]="$VALUE"
11731173

‎doc/commandLineOptions.eng.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Any bash manager software inherits the following command line options.
3333
the projects that it finds.
3434

3535
As of version 1.06, if you don't want to use a project, but just use a task and providing your own options for instance,
36-
you can use the special _none_ value.
36+
you can use the special _none_ value
3737

3838

3939

@@ -66,7 +66,7 @@ Any bash manager software inherits the following command line options.
6666
Can also be used to override a specific task's value, globally, or for a project in particular.
6767
To override a task's value, your key must have the following format:
6868

69-
key: <_VALUE_> <taskName> <project>?
69+
key: <_VALUE_> <taskName> <:project>?
7070

7171
For instance if I want to set the value of a task named depositories to /tmp/mydepo and for all projects,
7272
you can use the following option:

0 commit comments

Comments
 (0)