-
Notifications
You must be signed in to change notification settings - Fork 386
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
Brctl #866
Brctl #866
Conversation
daed251
to
7e42273
Compare
Why? With |
Do not turn the option to use file names as possible completion for brctl as the command does not deal with files whatsoever.
When adding a network interface to a bridge we most probably want to use one that hasn't been configured yet.
9d87e5b
to
7b83351
Compare
It's not a big deal, but I think there is a typo in the commit message. |
5cb1665
to
7e8441f
Compare
When completing a delif command offer only interfaces that are part of the selected bridge.
The show subcommand accepts a bridge name as a paramenter so let's offer completion. On the other hand addbr creates new interface and requires a name that doesn't exist yet. Longer awk condition prevents offering interfaces that are parts of bridges. They are all displayed in the last column but with all other columns being blang on the second and following lines of each bridge the last column is also the first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Unfortunately this just missed the 2.16.0 release as it had fallen too far in the list of open PR's for me to notice. Will be included in the next one.
Sorry, I had a "pending" review that I forgot to submit. I added it in #1296. |
Alternatively
addbr
could also get completion of available bridges to enable avoiding clashes.