-
Notifications
You must be signed in to change notification settings - Fork 256
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
dafny format --print -
results in: '-' is not a recognized option
#4896
Labels
part: documentation
Dafny's reference manual, tutorial, and other materials
Comments
dafny format
: --print -
leads to "'-' is not a recognized option"dafny format --print -
leads to: '-' is not a recognized option
racko
added a commit
to racko/dafny
that referenced
this issue
Dec 17, 2023
dafny format --print -
leads to: '-' is not a recognized optiondafny format --print -
results in: '-' is not a recognized option
Oh I see it's a documentation issue. It should be "--print" or "--print:true", not "--print -" (that second argument was the one used before @keyboardDrummer added proper options. |
MikaelMayer
added a commit
that referenced
this issue
Dec 20, 2023
Fixes #4896 Before we released the `format` command with its own set of options, it was piggy-backing on the Dafny `--print` option which accepted a file name. We have made it separate since so now that `--print` is always a bool for the `format` command. No tests needed because this is documentation <small>By submitting this pull request, I confirm that my contribution is made under the terms of the [MIT license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What change in documentation do you suggest?
Currently:
However:
Instead,
yields the desired output.
The text was updated successfully, but these errors were encountered: