Project

General

Profile

Actions

Feature #14183

closed

dladm/ipadm could show information by default

Added by Andy Fiddaman 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
cmd - userland programs
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.

Actions #1

Updated by Andy Fiddaman 7 months ago

  • Gerrit CR set to 1770
Actions #2

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 new ipadm 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).
Actions #3

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

Also available in: Atom PDF