Skip to content

Tighten parser option handling#108

Merged
codeforester merged 1 commit into
mainfrom
enhancement/104-20260703-parser-option-handling
Jul 3, 2026
Merged

Tighten parser option handling#108
codeforester merged 1 commit into
mainfrom
enhancement/104-20260703-parser-option-handling

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • reject unknown std_run --options before attempting command execution
  • keep std_run -- as the escape hatch for command names beginning with --
  • allow arg_parse value options to consume literal -- as data
  • document both parsing edge cases

Fixes #104

Validation

  • bats lib/bash/std/tests/lib_std.bats
  • bats lib/bash/arg/tests/lib_arg.bats
  • ./tests/validate.sh
  • git diff --check

@codeforester codeforester merged commit 28beea4 into main Jul 3, 2026
2 checks passed
@codeforester codeforester deleted the enhancement/104-20260703-parser-option-handling branch July 3, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tighten std_run and arg_parse option handling

1 participant