Actions
Feature #14183
closeddladm/ipadm could show information by default
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Description
Currently, invoking ipadm
or dladm
without arguments shows a usage message. It would be more convenient if they showed summary information by default. OmniOS has had this behaviour for a couple of years.
Updated by Andy Fiddaman 7 months ago
I reviewed the rendered man pages from this change to confirm that the new lines were displaying properly.
I also tested the newipadm
and dladm
binaries to ensure that:
- they displayed the expected output by default (show-addr and show-link respectively, when called with no parameters);
- when run with a
help
argument, they displayed the usage and exited 0; - when run with an unknown argument, they displayed the usage and exited 1 (as before).
Updated by Electric Monk 7 months ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
git commit f3f00a64aacc2afa89bdcb978f1263b796aea6b0
commit f3f00a64aacc2afa89bdcb978f1263b796aea6b0 Author: Andy Fiddaman <omnios@citrus-it.co.uk> Date: 2021-10-26T21:17:22.000Z 14183 dladm/ipadm could show information by default Reviewed by: Robert Mustacchi <rm+illumos@fingolfin.org> Reviewed by: Yuri Pankov <ypankov@tintri.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
Actions