Skip to content

Handle -- to force args#228

Merged
jdegoes merged 3 commits intozio:masterfrom
vigoo:fix-225
Jul 16, 2023
Merged

Handle -- to force args#228
jdegoes merged 3 commits intozio:masterfrom
vigoo:fix-225

Conversation

@vigoo
Copy link
Copy Markdown
Contributor

@vigoo vigoo commented Jul 15, 2023

Resolves #225
/claim #225

}

private def splitForcedArgs(args: List[String]): (List[String], List[String]) = {
val (forcedArgs, remainingArgs) = args.span(_ != "--")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be optionsAndArgs, forcedArgs?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

@jdegoes jdegoes merged commit 9d204b8 into zio:master Jul 16, 2023
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.

-- does not prevent options interpretation

3 participants