From 364a0eff661b7ebabc8522785e9f3620fe407558 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sun, 1 Aug 2021 08:36:35 -0700 Subject: [PATCH] document dfu --- sh/dfu | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sh/dfu b/sh/dfu index d03bc3f..7ebbc2c 100755 --- a/sh/dfu +++ b/sh/dfu @@ -6,7 +6,13 @@ dfu() { ### @- ### pretty-print `df` in GiB. ### - ### **TODO:** restore examples. + ### ``` + ### $ dfu + ### Filesystem Used Max Left Misc + ### /dev 0.00 0.46 0.46 0.00 + ### / 17.20 23.22 6.01 1.27 + ### ``` + [ $# -le 0 ] || { printf "%s\n" "$0: too many arguments" >&2; return 1; } df -xtmpfs | awk ' NR==1{printf"%-20s %7s %7s %7s %7s\n","Filesystem","Used","Max","Left","Misc"}