swift-argument-parser icon indicating copy to clipboard operation
swift-argument-parser copied to clipboard

Prints help message when I pass a dash symbol even quoted

Open griffin-stewie opened this issue 3 years ago • 0 comments

It prints a help message when I pass a dash symbol even quoted.

ArgumentParser version: 0.4.3 Swift version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) Target: x86_64-apple-darwin20.5.0

Checklist

  • [x] If possible, I've reproduced the issue using the main branch of this package
  • [x] I've searched for existing GitHub issues

Steps to Reproduce

Here is my sample project to test.

Pass double-quoted string as an argument.

Expected behavior

my_echo "- [Apple](https://apple.com)"- [Apple](https://apple.com)

Actual behavior

It prints the help message of this command.

griffin-stewie avatar Jun 10 '21 09:06 griffin-stewie