Show basename of script in usage text #203
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is an implementation of my suggestion in #202.
The formatting follows the suggestions from shellcheck to always quote variables and expansions results with unforeseeable contents.
I gotta admit, my m4 is a bit rusty.
I found out how to add the
basename
, but I can't wrap my head around the tests, so I didn't touch them.Sorry for that.
But I ran the tests locally and they all passed.
The scripts
argbash
,argbash-init
andarbash-1to2
were regenerated with the new usage text.Output of `make -B ../tests/regressiontests/Makefile && make check ARGBASH_EXEC=argbash ARGBASH_INIT_EXEC=argbash-init`