@@ -60,18 +60,18 @@ func (f formatter) description() string {
60
60
return `Prints "yes" or "no" if the interface exists or not`
61
61
case fmtAddress :
62
62
return "Prints the IP address of the interface"
63
- case fmtNetmask :
64
- return "Prints the netmask of the interface"
65
63
case fmtNetworkAddress :
66
64
return "Prints the network address of the interface"
65
+ case fmtNetmask :
66
+ return "Prints the netmask of the interface"
67
67
case fmtBroadcastAddress :
68
68
return "Prints the broadcast address of the interface"
69
69
case fmtMTU :
70
70
return "Prints the MTU of the interface"
71
71
case fmtFlags :
72
- return "Prints the hardware address of the interface. Exit with a failure exit code if there is not hardware address for the given network interface"
73
- case fmtHardwareAddress :
74
72
return "Prints the flags of the interface"
73
+ case fmtHardwareAddress :
74
+ return "Prints the hardware address of the interface. Exit with a failure exit code if there is not hardware address for the given network interface"
75
75
case fmtInputStatistics :
76
76
return "Prints all input statistics of the interface"
77
77
case fmtInputPackets :
@@ -88,25 +88,25 @@ func (f formatter) description() string {
88
88
return "Prints the number of compressed input packets"
89
89
case fmtInputMulticast :
90
90
return "Prints the number of input multicast packets"
91
- case fmtInputBytesSecond :
92
- return "Prints all output statistics of the interface"
93
91
case fmtOutputStatistics :
94
- return "Prints the number of output packets "
92
+ return "Prints all output statistics of the interface "
95
93
case fmtOutputPackets :
96
- return "Prints the number of output bytes "
94
+ return "Prints the number of output packets "
97
95
case fmtOutputBytes :
98
- return "Prints the number of output errors "
96
+ return "Prints the number of output bytes "
99
97
case fmtOutputErrors :
100
- return "Prints the number of dropped output packets "
98
+ return "Prints the number of output errors "
101
99
case fmtOutputDropped :
102
- return "Prints the number of output fifo overruns "
100
+ return "Prints the number of dropped output packets "
103
101
case fmtOutputFIFO :
104
- return "Prints the number of output collisions "
102
+ return "Prints the number of output fifo overruns "
105
103
case fmtOutputCollisions :
106
- return "Prints the number of output carrier losses "
104
+ return "Prints the number of output collisions "
107
105
case fmtOutputCarrierLosses :
108
- return "Prints the number of output multicast packets "
106
+ return "Prints the number of output carrier losses "
109
107
case fmtOutputMulticast :
108
+ return "Prints the number of output multicast packets"
109
+ case fmtInputBytesSecond :
110
110
return "Prints the number of bytes of incoming traffic measured in one second"
111
111
case fmtOutputBytesSecond :
112
112
return "Prints the number of bytes of outgoing traffic measured in one second"
0 commit comments