Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bash: add support for hyphenated param names #3748

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

reidmv
Copy link

@reidmv reidmv commented Nov 3, 2023

Previously, a parameter (flag) such as curl --upload-file would not be properly recognized, because of the hyphen in the parameter name. This commit causes --upload-file to be properly recognized as a parameter.

fixes #3569, fixes #3696

Copy link

github-actions bot commented Nov 3, 2023

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +5 B (+0.2%).

file master pull size diff % diff
components/prism-bash.min.js 2.95 KB 2.96 KB +5 B +0.2%

Generated by 🚫 dangerJS against ac9bba3

Previously, a parameter (flag) such as `curl --upload-file` would not be
properly recognized, because of the hyphen in the parameter name. This
commit causes `--upload-file` to be properly recognized as a parameter.

fixes PrismJS#3569, fixes PrismJS#3696
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant