Skip to content
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

Rename doctor --file to --from for consistency #1513

Merged
merged 1 commit into from
May 18, 2023

Conversation

itowlson
Copy link
Contributor

We've been using --from as the primary long form for -f. It doesn't read as nicely for doctor as it does for up but I thought it was worth it to keep the flag name and text consistent throughout Spin. Also renamed the field to be the same as other commands (again, this is purely cosmetic consistency, and we don't need to do it if we prefer the existing name).

Signed-off-by: itowlson <ivan.towlson@fermyon.com>
@itowlson itowlson requested a review from lann May 18, 2023 00:09
Copy link
Collaborator

@lann lann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I picked file intentionally since the command doesn't make much sense for other sources, but I don't feel strongly about it.

@itowlson itowlson merged commit 16c0ce1 into fermyon:main May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants