For any mason flags that accept a value (what I'm calling a keyword-arg (kwarg)), we should consistently:
--flag value style--flag=value style--flag <value>Examples include:
mason build --example <example>
mason run --example <example>
mason test --setComm <comm>
mason external find -t <tags>
@ben-albrecht Since I'm already working on a similar issue, I'll be taking this along with #14955
Thanks @ankingcodes. If possible, it would be best if you were able to separate fixing all mason kwargs (this issue) from adding --moduleName in 2 different PRs.
Stumbled across https://github.com/chapel-lang/chapel/issues/14990 while testing these out.
@ben-albrecht Got it !
@ben-albrecht can we add mason search --show=packageName to that list ?
--show is bool flag for mason search still. It requires the search query to return 1 package to work though.
@ben-albrecht We can close this now.
For archival purposes, mason test arg parsing was refactored to select style in this issue.