Conversation
|
Thanks for the PR, I will have to look into it more closely - I want to make sure this matches the output on linux. Could you please post here comparable output of your script and output on some linux distro? Thanks |
1. My mac is 11.7.10 (20G1427)ip link
ip addr
2. My cloud serverip link
ip addr
|
src/ip.py
Outdated
| # Route Module | ||
| @help_msg(do_help_route) | ||
| def do_route(argv, af, json_print, pretty_json): | ||
| def do_route(argv, af, json_print, pretty_json, oneline=False): |
There was a problem hiding this comment.
Why do we need the default value for the new argument, isn't that inconsistent?
If you agree, please remove the default from the other functions as well.
There was a problem hiding this comment.
I add the default value for backwards compatibility.
Are you sure to make it as a required position argument?
|
Thank you, I finally got to this one, please see comments in the review. Can you please as well add similar functionality to the bridge command (it is in separate file)? And secondly, is the -o relevant only for these two commands, or are we leaving some out for now? This is important to at least document in the readme later. |
Done.
It's hard for me the ensure that. |
Closes #17