You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
running the dafny command gets an informative message:
.dafny
Required command was not provided.
Description:
The Dafny CLI enables working with Dafny, a verification-aware programming language. Use 'dafny -?' to see help for the previous CLI format.
Usage:
Dafny [command] [options] [[--] <additional arguments>...]]
and on for another couple of pages. But unfortunately then doing:
.dafny help
*** Error: 'help': The first input must be a command or a legacy option or file with supported extension
gets a particularly unhelpful message.
.dafny --help resolve dfyconfig.toml
gets pages of help on :resolve" but forgetting the -- gets the same nonhekpful result
.dafny help resolve dfyconfig.toml
*** Error: 'help': The first input must be a command or a legacy option or file with supported extension
Proposed Feature
I notice doing 'dafny --help X' never runs the command X but rather prints out help.
consider making "help" a command as well as or instead of an option.
at least, if dafny can't intepret the command it could give a hint to try -h or --help.
Alternatives
see above
The text was updated successfully, but these errors were encountered:
kjx
added
the
kind: enhancement
Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny
label
Aug 29, 2024
Summary
(sorry couldn't resist the issue title)
the dafny command needs better help
Background and Motivation
running the dafny command gets an informative message:
and on for another couple of pages. But unfortunately then doing:
gets a particularly unhelpful message.
gets pages of help on :resolve" but forgetting the -- gets the same nonhekpful result
Proposed Feature
I notice doing 'dafny --help X' never runs the command X but rather prints out help.
consider making "help" a command as well as or instead of an option.
at least, if dafny can't intepret the command it could give a hint to try -h or --help.
Alternatives
see above
The text was updated successfully, but these errors were encountered: