* Report on Abnormal Behavior of "ip help" Command
@ 2024-01-27 6:17 陈嘉昀
0 siblings, 0 replies; only message in thread
From: 陈嘉昀 @ 2024-01-27 6:17 UTC (permalink / raw)
To: netdev
To whom it may concern,
I hope this email finds you well. I am writing to report a behavior which seems to be abnormal. I have observed "ip help" returns -1 (255), even if the help information is printed to the terminal successfully.
This is potentially causing trouble when we're automatically checking whether a tool is basically working, by checking its return code (normally, like coreutils tools, --help returns 0). Is that better to make it return 0 on help, or keep -1 to make it backward compatible?
The information on my working environment is: Ubuntu22.04, iproute2-5.15.0, libbpf 0.5.0.
Thank you for your time and efforts, I am looking forward to your reply.
Best regards,
Chen Jiayun
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-27 6:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-27 6:17 Report on Abnormal Behavior of "ip help" Command 陈嘉昀
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).