commit 69863d96005953d7b62c058d155f5a290e55c9c8
parent 481a80f2a6a3e024dc1ece1e22f8c39b7a16031d
Author: Cem Keylan <cem@ckyln.com>
Date: Thu, 16 Jun 2022 10:27:17 +0200
parser_definiton(): fix shellcheck warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/muw b/bin/muw
@@ -22,7 +22,7 @@ parser_definition() {
cmd_a() {
# Grab the first character of the subcommand, and add it to the option
# parser as a subcommand.
- cmd "${1%${1#?}}" hidden:1; cmd "$@"
+ cmd "${1%"${1#?}"}" hidden:1; cmd "$@"
}
parser_definition_add() {