]> git.proxmox.com Git - mirror_iproute2.git/commit - man/man8/ip-link.8.in
ip: add iec formatted option and cleanup code
authorStephen Hemminger <shemming@brocade.com>
Sun, 2 Nov 2014 20:49:19 +0000 (12:49 -0800)
committerStephen Hemminger <shemming@brocade.com>
Sun, 2 Nov 2014 20:49:19 +0000 (12:49 -0800)
commit1e264abc3a3d8c303b235c8f15c420e4feabb7fe
treeea3de227ad5328d2607dd78a600a3a94b576c5b4
parentb68d983754bcf781caa9fac454cff674775a2c35
ip: add iec formatted option and cleanup code

Add a new -iec option in addition to -human.
Cleanup code so the formatting of numbers is done in one function,
not 2 ways and 2 sizes.
include/utils.h
ip/ip.c
ip/ipaddress.c
man/man8/ip-link.8.in