Skip to content

Commit c607930

Browse files
committed
Version bump.
1 parent b9f3973 commit c607930

14 files changed

+34
-37
lines changed

ChangeLog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
2.5.1 (TBA)
1+
2.5.1 (2017-12-06)
22
------------------
33

44
Bugfixes:

bin/argbash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
version=2.5.0
3+
version=2.5.1
44
# DEFINE_SCRIPT_DIR()
55
# ARG_POSITIONAL_SINGLE([input],[The input template file (pass '-' for stdout)])
66
# ARG_OPTIONAL_SINGLE([output],[o],[Name of the output file (pass '-' for stdout)],[-])
@@ -14,7 +14,7 @@ version=2.5.0
1414

1515
# ARGBASH_GO()
1616
# needed because of Argbash --> m4_ignore([
17-
### START OF CODE GENERATED BY Argbash v2.5.0 one line above ###
17+
### START OF CODE GENERATED BY Argbash v2.5.1 one line above ###
1818
# Argbash is a bash code generator used to get arguments parsing right.
1919
# Argbash is FREE SOFTWARE, see https://argbash.io for more info
2020

bin/argbash-1to2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/bin/bash
22

3-
version=2.5.0
3+
version=2.5.1
44
# ARG_POSITIONAL_INF([input],[The input file to transform],[1])
55
# ARG_OPTIONAL_SINGLE([output],[o],[Name of the output file (pass '-' for stdout and empty string for the same as input file)],[""])
66
# ARG_VERSION([echo "argbash-1to2 v$version"])
77
# ARG_HELP([Convert a template for argbash>=1,<2 to argbash>=2,<3])
88

99
# ARGBASH_GO()
1010
# needed because of Argbash --> m4_ignore([
11-
### START OF CODE GENERATED BY Argbash v2.5.0 one line above ###
11+
### START OF CODE GENERATED BY Argbash v2.5.1 one line above ###
1212
# Argbash is a bash code generator used to get arguments parsing right.
1313
# Argbash is FREE SOFTWARE, see https://argbash.io for more info
1414

bin/argbash-init

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
version=2.5.0
3+
version=2.5.1
44
# ARG_POSITIONAL_SINGLE([output],[Name of the output template],["-"])
55
# ARG_OPTIONAL_INCREMENTAL([separate],[s],[Separate the parsing logic (specify two times for complete separation)])
66
# ARG_OPTIONAL_BOOLEAN([hints],[],[Whether to write hints to the script template])
@@ -15,7 +15,7 @@ version=2.5.0
1515

1616
# ARGBASH_GO()
1717
# needed because of Argbash --> m4_ignore([
18-
### START OF CODE GENERATED BY Argbash v2.5.0 one line above ###
18+
### START OF CODE GENERATED BY Argbash v2.5.1 one line above ###
1919
# Argbash is a bash code generator used to get arguments parsing right.
2020
# Argbash is FREE SOFTWARE, see https://argbash.io for more info
2121

doc/_static/index_script-help.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,4 @@
22

33
<The general help message of my script>
44
Usage: ./script.sh [--option <arg>] [--(no-)print] [-h|--help] <positional-arg>
5-
<positional-arg>: <positional-arg's help message goes here>
6-
--option: <option's help message goes here> (no default)
7-
--print,--no-print: <print's help message goes here> (off by default)
85
-h,--help: Prints help

doc/_static/index_script-output.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
./script.sh --print --option opt-value pos-value
22

33
Value of --option: opt-value
4-
print is on
5-
Value of positional-arg: pos-value
4+
'print' is on
5+
Value of 'positional-arg': pos-value

doc/_static/minimal.patch

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
--- minimal-raw.m4 2016-11-04 19:06:36.816634721 +0100
2-
+++ minimal.m4 2016-11-04 19:10:23.043297242 +0100
1+
--- minimal-raw.m4 2017-12-06 23:51:13.985545630 +0100
2+
+++ minimal.m4 2017-12-06 23:54:30.169992192 +0100
33
@@ -3,16 +3,22 @@
44
# m4_ignore(
55
echo "This is just a script template, not the script (yet) - pass it to 'argbash' to fix this." >&2
6-
exit 11 #)Created by argbash-init v@VERSION@
7-
-# ARG_OPTIONAL_SINGLE([option], , [<option's help message goes here>])
8-
-# ARG_OPTIONAL_BOOLEAN([print], , [<print's help message goes here>])
9-
-# ARG_POSITIONAL_SINGLE([positional-arg], [<positional-arg's help message goes here>], )
6+
exit 11 #)Created by argbash-init v2.5.1
7+
-# ARG_OPTIONAL_SINGLE([option])
8+
-# ARG_OPTIONAL_BOOLEAN([print])
9+
-# ARG_POSITIONAL_SINGLE([positional-arg])
1010
-# ARG_HELP([<The general help message of my script>])
1111
+# ARG_OPTIONAL_SINGLE([option], o, [A option with short and long flags and default], [boo])
1212
+# ARG_OPTIONAL_BOOLEAN([print], , [A boolean option with long flag (and implicit default: off)])
@@ -18,9 +18,9 @@
1818

1919
# [ <-- needed because of Argbash
2020

21-
-echo "Value of --option: $_arg_option"
22-
-echo "print is $_arg_print"
23-
-echo "Value of positional-arg: $_arg_positional_arg"
21+
-printf 'Value of --%s: %s\n' 'option' "$_arg_option"
22+
-printf "'%s' is %s\n" 'print' "$_arg_print"
23+
-printf "Value of '%s': %s\n" 'positional-arg' "$_arg_positional_arg"
2424
+if [ "$_arg_print" = on ]
2525
+then
2626
+ echo "Positional arg value: '$_arg_positional_arg'"

doc/_static/wrapper-output-action.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ resources/examples/simple-wrapper.sh --glob '*.m4' ../src ../resources/examples
22

33
Contents of '../src' matching '*.m4':
44
argbash-1to2.m4: 1 kiB
5-
argbash-init.m4: 4 kiB
5+
argbash-init.m4: 5 kiB
66
argbash-lib.m4: 0 kiB
77
argbash.m4: 7 kiB
88
argument_value_types.m4: 4 kiB

resources/examples/minimal-raw.m4

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
# m4_ignore(
44
echo "This is just a script template, not the script (yet) - pass it to 'argbash' to fix this." >&2
5-
exit 11 #)Created by argbash-init v2.5.0
6-
# ARG_OPTIONAL_SINGLE([option], , [<option's help message goes here>])
7-
# ARG_OPTIONAL_BOOLEAN([print], , [<print's help message goes here>])
8-
# ARG_POSITIONAL_SINGLE([positional-arg], [<positional-arg's help message goes here>], )
5+
exit 11 #)Created by argbash-init v2.5.1
6+
# ARG_OPTIONAL_SINGLE([option])
7+
# ARG_OPTIONAL_BOOLEAN([print])
8+
# ARG_POSITIONAL_SINGLE([positional-arg])
99
# ARG_HELP([<The general help message of my script>])
1010
# ARGBASH_GO
1111

1212
# [ <-- needed because of Argbash
1313

14-
echo "Value of --option: $_arg_option"
15-
echo "print is $_arg_print"
16-
echo "Value of positional-arg: $_arg_positional_arg"
14+
printf 'Value of --%s: %s\n' 'option' "$_arg_option"
15+
printf "'%s' is %s\n" 'print' "$_arg_print"
16+
printf "Value of '%s': %s\n" 'positional-arg' "$_arg_positional_arg"
1717

1818
# ] <-- needed because of Argbash

resources/examples/minimal.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# m4_ignore(
44
echo "This is just a script template, not the script (yet) - pass it to 'argbash' to fix this." >&2
5-
exit 11 #)Created by argbash-init v2.5.0
5+
exit 11 #)Created by argbash-init v2.5.1
66
# ARG_OPTIONAL_SINGLE([option], o, [A option with short and long flags and default], [boo])
77
# ARG_OPTIONAL_BOOLEAN([print], , [A boolean option with long flag (and implicit default: off)])
88
# ARG_POSITIONAL_SINGLE([positional-arg], [Positional arg description], )

0 commit comments

Comments
 (0)