Skip to content

Commit

Permalink
fix _argc_take_args expansion and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Johnson committed May 21, 2024
1 parent 1314606 commit 936d698
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "argc"
version = "1.17.0"
version = "1.18.0"
edition = "2021"
authors = ["sigoden <[email protected]>"]
description = "A bash cli framework, also a bash-based command runner"
Expand Down
2 changes: 1 addition & 1 deletion src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const UTIL_FNS: [(&str, &str); 6] = [
_argc_take_args() {
_argc_take_args_values=()
_argc_take_args_len=0
local param="${{1:-}}" min="${{2:-}}" max="${{3:-}}" signs="${{4:-}}" delimiter="${{5:-}}"
local param="${1:-}" min="${2:-}" max="${3:-}" signs="${4:-}" delimiter="${5:-}"
if [[ "$min" -eq 0 ]] && [[ "$max" -eq 0 ]]; then
return
fi
Expand Down

0 comments on commit 936d698

Please sign in to comment.