File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
- 2.6.2 (TBA)
1
+ 2.7.0 (TBA)
2
2
------------------
3
3
4
4
New features:
@@ -9,6 +9,8 @@ Bugfixes:
9
9
10
10
* Fixed comment of the evaluate_strictness function in commented mode.
11
11
* `ARG_OPTIONAL_BOOL` won't let you specify other default values than `on` or `off`.
12
+ * Fixed bash completion containing a leading newline.
13
+ * Fixed Argbash bash completion generated filename.
12
14
13
15
14
16
2.6.1 (2018-03-04)
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ ROOT ?= /
45
45
46
46
A_INIT = ../bin/argbash-init
47
47
GENPARSE = ../bin/argbash
48
- COMPLETION = argbash.sh
48
+ COMPLETION = argbash
49
49
INSTALL_COMPLETION ?= no
50
50
ARGBASH_EXEC ?= $(GENPARSE )
51
51
ARGBASH_INIT_EXEC ?= $(A_INIT )
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ dnl $1: The macro call (the caller is supposed to pass [$0($@)])
8
8
dnl What is also part of the API: The line
9
9
dnl ### START OF CODE GENERATED BY Argbash vx.y.z one line above ###
10
10
m4_define ( [ ARGBASH_GO_BASE] , [ m4_do (
11
- [ [ $1
12
- ] ] ,
11
+ [ m4_ifnblank ( [ $1 ] , [ [ $1
12
+ ] ] ) ] ,
13
13
[ dnl ASSERT_THAT_BASENAME_IS_KNOWN
14
14
] ,
15
15
[ m4_define ( [ _BASENAME] , INFERRED_BASENAME_NOERROR ) ] ,
You can’t perform that action at this time.
0 commit comments