From e4178b2c7c3e819920dca3d9fdbb9172ae56d847 Mon Sep 17 00:00:00 2001 From: Russell King Date: Fri, 10 Apr 2020 16:11:28 +0100 Subject: mii-diag: fix indentation of long options array Signed-off-by: Russell King --- mii-diag.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/mii-diag.c b/mii-diag.c index 3c47e4a..afebb16 100644 --- a/mii-diag.c +++ b/mii-diag.c @@ -108,18 +108,18 @@ typedef u_int8_t u8; const char shortopts[] = "aA:C:DfF:gG:hmM:p:rRsvVw?"; struct option longopts[] = { /* { name has_arg *flag val } */ - {"all-interfaces", 0, 0, 'a'}, /* Show all interfaces. */ + {"all-interfaces", 0, 0, 'a'}, /* Show all interfaces. */ {"advertise", 1, 0, 'A'}, /* Change the capabilities advertised. */ - {"BMCR", 1, 0, 'C'}, /* Set the control register. */ - {"debug", 0, 0, 'D'}, /* Increase the debug level. */ - {"force", 0, 0, 'f'}, /* Force the operation. */ - {"fixed-speed", 1, 0, 'F'}, /* Fixed speed name. */ - {"read-parameters", 0, 0, 'g'}, /* Show general settings values. */ - {"set-parameters", 1, 0, 'G'}, /* Write general settings values. */ + {"BMCR", 1, 0, 'C'}, /* Set the control register. */ + {"debug", 0, 0, 'D'}, /* Increase the debug level. */ + {"force", 0, 0, 'f'}, /* Force the operation. */ + {"fixed-speed", 1, 0, 'F'}, /* Fixed speed name. */ + {"read-parameters", 0, 0, 'g'}, /* Show general settings values. */ + {"set-parameters", 1, 0, 'G'}, /* Write general settings values. */ {"help", 0, 0, 'h'}, /* Print a long usage message. */ {"monitor", 0, 0, 'm'}, /* Monitor status register. */ {"msg-level", 1, 0, 'M'}, /* Set the driver message level. */ - {"phy", 1, 0, 'p'}, /* Set the PHY (MII address) to report. */ + {"phy", 1, 0, 'p'}, /* Set the PHY (MII address) to report. */ {"restart", 0, 0, 'r'}, /* Restart the link negotiation */ {"reset", 0, 0, 'R'}, /* Reset the transceiver. */ {"status", 0, 0, 's'}, /* Non-zero exit status w/ no link beat. */ -- cgit