Improving kompile's --help and --help-hidden messages using descriptors#3638
Merged
rv-jenkins merged 5 commits intodevelopfrom Sep 14, 2023
Merged
Improving kompile's --help and --help-hidden messages using descriptors#3638rv-jenkins merged 5 commits intodevelopfrom
--help and --help-hidden messages using descriptors#3638rv-jenkins merged 5 commits intodevelopfrom
Conversation
radumereuta
reviewed
Sep 13, 2023
Contributor
radumereuta
left a comment
There was a problem hiding this comment.
Ah, there are more options for kprove and kast. Did you check those as well?
… Haskell Backends
radumereuta
reviewed
Sep 13, 2023
Collaborator
Author
|
I'll implement these changes in |
rv-jenkins
pushed a commit
that referenced
this pull request
Sep 14, 2023
Follow up of #3619 and #3638! This PR enhances the usability of `kast --help` and `kast --help-hidden` by providing flag descriptors to help the user understand when an argument needs to be provided to the flag. Ex.: Before ``` kast --help Usage: kast [options] <file> Options: --color Use colors in output. Default is on. Possible Values: [OFF, ON, EXTENDED] ``` Now: ``` Usage: kast [options] <file> Options: --color <mode> Use colors in output. Default: ON Possible Values: [OFF, ON, EXTENDED] ``` Among others, this PR introduces the following arguments to the respective parameters: <!DOCTYPE html> parameter | argument -- | -- --color | \<mode> --expression, -e | \<expression> --input, -i | \<mode> --module, -m | \<module> --output, -o | \<mode> --output-file | \<file> --output-flatten | \<KLabels> --output-omit | \<KLabels> --output-tokast | \<KLabels> --output-tokenize | \<KLabels> --sort, -s | \<sort> --steps | \<steps> --definition | \<path> --directory, -d | \<path>
rv-jenkins
pushed a commit
that referenced
this pull request
Sep 15, 2023
Follow up of #3619, #3638, and #3642! This PR enhances the usability of `kprove --help` and `kprove --help-hidden` by providing flag descriptors to help the user understand when an argument needs to be provided to the flag. Ex.: Before ``` Usage: kprove [options] <file> Options: --branching-allowed Number of branching events allowed before a forcible stop. Default: 2147483647 ``` Now: ``` Usage: kprove [options] <file> Options: --branching-allowed <value> Number of branching events allowed before a forcible stop. Default: 2147483647 ``` Among others, this PR introduces the following arguments to the respective parameters: parameter | argument -- | -- --branching-allowed | \<number> --claims | \<labels> --color | \<mode> --debug-script | \<file> --default-claim-type | \<type> --definition | \<path> --depth | \<number> --emit-json-spec | \<file> --exclude | \<labels> --output, -o | \<mode> --output-file | \<file> --output-flatten | \<KLabels> --output-omit | \<KLabels> --output-tokast | \<KLabels> --output-tokenize | \<KLabels> --spec-module, -sm | \<name> --trusted | \<labels> --haskell-backend-command | \<command> --haskell-backend-home | \<directory> --smt-timeout | \<milliseconds>
5 tasks
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3619
This PR enhances the usability of
kompile --helpandkompile --help-hiddenby providing descriptors to the flags to help the user understand when an argument needs to be provided to the flag.Ex.:
Before
Now: