Skip to content

cli: remove default from -n argument #39900

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

antonio-rojas
Copy link
Contributor

Without this, calling any command line argument (currently only sage -v) will launch the notebook, because args.notebook evaluates to True in https://github.com/sagemath/sage/blob/10.7.beta0/src/sage/cli/__init__.py#L42

The const option already takes care of providing a default value for -n.

Copy link

github-actions bot commented Apr 7, 2025

Documentation preview for this PR (built with commit 160c6f8; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant