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
Thanks for raising this. Care to make a PR that adjusts the help string to reality? Probably the easiest course of action. Ideally before any bike shedding about the CLI interface ensues :-)
Closes#5682
- Removes the broken `-f` flag from the help message which doesn't
behave as expected as an alternative to `--features`.
- Adds the `-g` flag to the help message which is a working alternative
to the `--githash` flag.
Prerequisites
Please put an X between the brackets as you perform the following steps:
https://github.com/leanprover/lean4/issues
Avoid dependencies to Mathlib or Batteries.
https://live.lean-lang.org/#project=lean-nightly
(You can also use the settings there to switch to “Lean nightly”)
Description
lean -h
states thatlean -f
may be used as shorthand forlean --features
.while
lean --features
works as intended,-f
is not recognized as a valid flag.Steps to Reproduce
Expected behavior:
Identical output to
lean --features
Actual behavior:
Versions
Output of
elan run nightly lean -v
Lean (version 4.12.0-nightly-2024-10-12, x86_64-unknown-linux-gnu, commit a3bc4d2, Release)
OS Version: Ubuntu 22.04.3 LTS
Impact
Minimal to no impact, just an inconsistency between information in the help command and actual behavior.
The text was updated successfully, but these errors were encountered: