From 045af160e7c6928b187719b2df4f14211f20a6d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Thu, 17 Sep 2015 00:29:50 +0200 Subject: [PATCH] df: silently accept -h Traditional Unix 'df' use -h for human readable units. I always end up typing 'df -h' so it's frustrating to see the usage there. --- src/bin/df.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bin/df.cpp b/src/bin/df.cpp index efb6e5583b..d7e66e9eb2 100644 --- a/src/bin/df.cpp +++ b/src/bin/df.cpp @@ -207,6 +207,9 @@ main(int argc, char **argv) case 'b': showBlocks = true; break; + case 'h': + // human readable units in Unix df + break; default: ShowUsage(programName); }