@@ -65,15 +65,17 @@ produce output suitable for bash `eval(1)` but can be parsed by your own
65
65
code. Double-dash ` -- ` will be kept.
66
66
67
67
` -G ` is a variant of Global mode, which prefixes the globals mangled named with
68
- ` <prefix> ` + ` _ ` + ` Mangled_name ` .
68
+ ` <prefix> ` + ` _ ` + ` Mangled_name ` . In this mode double-dash ` -- ` and single-dash
69
+ ` - ` will be kept and will be mangled.
69
70
70
71
* ` --Long-Option ` ==> ` prefix_Long_Option `
71
- * etc.
72
+ * ` -- ` ==> ` prefix___ `
73
+ * ` - ` ==> ` prefix__ `
72
74
73
75
Note that prefixed invalid mangled names still raise an error, if they resolve to
74
76
invalid bash identifier.
75
77
76
- Prefix gobals variable makes it easy to filter variable with ` grep ` or such or to
78
+ Prefix gobals variable makes it easy to filter variable with ` grep ` or such, or to
77
79
avoid globals name collision.
78
80
79
81
Handling ` [-] ` in global mode is not supported and raises an error when trying to mangle ` - ` .
@@ -118,12 +120,12 @@ they are faked for repeatable arguments with the following access syntax:
118
120
${args[ARG,1]} # the second argument to ARG, etc.
119
121
```
120
122
121
- Associative mode don't skipp double-dash ` -- ` it will be part of the keys
123
+ Associative mode don't skip double-dash ` -- ` it will be part of the keys
122
124
as boolean value present or not.
123
125
124
126
### How arguments are associated to variables
125
127
126
- What ever output mode hase been selected.
128
+ What ever output mode has been selected.
127
129
128
130
The arguments are stored as follows:
129
131
0 commit comments