summaryrefslogtreecommitdiffstats
path: root/include/utils.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemming@brocade.com>2014-11-02 12:49:19 -0800
committerStephen Hemminger <shemming@brocade.com>2014-11-02 12:49:19 -0800
commit1e264abc3a3d8c303b235c8f15c420e4feabb7fe (patch)
treeea3de227ad5328d2607dd78a600a3a94b576c5b4 /include/utils.h
parentb68d983754bcf781caa9fac454cff674775a2c35 (diff)
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.
Diffstat (limited to 'include/utils.h')
-rw-r--r--include/utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h
index 7bb19e97..eef9c42d 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -12,6 +12,7 @@
extern int preferred_family;
extern int human_readable;
+extern int use_iec;
extern int show_stats;
extern int show_details;
extern int show_raw;