Skip to content

Recognize '--target', not '-target'#72

Open
minoki wants to merge 1 commit intosmlsharp:masterfrom
minoki:target-option
Open

Recognize '--target', not '-target'#72
minoki wants to merge 1 commit intosmlsharp:masterfrom
minoki:target-option

Conversation

@minoki
Copy link
Copy Markdown

@minoki minoki commented Jan 31, 2022

--help says

  --target=<triple>  generate code for specified target

but smlsharp --target=foo-bar-baz yields

/opt/smlsharp/bin/smlsharp: invalid option `target'

and single-hypen form smlsharp -target=foo-bar-baz is recognized instead.

Looking at --help and SMLFLAGS (in configure), I suppose that double-hypen form is the intended one, so here is the fix.

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.

2 participants