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

fix(ip): Don't offer neighbour, only neighbor #1318

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

yedayak
Copy link
Collaborator

@yedayak yedayak commented Jan 19, 2025

The previous state led to ip neigh<TAB> leading to this:

$ ip neighbo
neighbor   neighbour

choosing one to complete removes the need to choose between options that do the same thing, aligning with the CONTRIBUTING.md guidelines.

I chose neighbor because it's shorter, but it can be changed if someone wants to.

Copy link
Collaborator

@akinomyoga akinomyoga left a comment

Choose a reason for hiding this comment

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

There might be a possibility of determining it by the current locale, but I think just neighbor is fine as US English is common in computing and we don't want complication.

test/t/test_ip.py Show resolved Hide resolved
The previous state led to `ip neigh<TAB>` leading to this:
```
$ ip neighbo
neighbor   neighbour
```
choosing one to complete removes the need to choose between options that
do the same thing, aligning with the CONTRIBUTING.md guidelines.

I chose `neighbor` because it's shorter, but it can be changed if someone
wants to.
@yedayak yedayak merged commit 79fd051 into scop:main Jan 22, 2025
7 checks passed
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.

3 participants