X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=ll-function;h=c17ff3d36ef206bdf4ea68deef9646697c070349;hb=9117f3393e33f02dab2b03fef6493e15965f4093;hp=c5ff61822252e028fd9a7698aff4958419012ea9;hpb=13cbf28d364ed1b7f43fa53e48e74ab62f0c8600;p=small-misc-bash diff --git a/ll-function b/ll-function index c5ff618..c17ff3d 100644 --- a/ll-function +++ b/ll-function @@ -22,6 +22,15 @@ # more natural date/time format for my American raised eyes # remove first line size summary ll() { + case $1 in + -h|--help) + cat <<'EOF' +usage: ll [ARGS_TO_LS] + +ls -lA with enhanced output +EOF + ;; + esac local x y perm line binls sizePadding middle tail size \ max_hl_digits hardlinks initial_space hardlink_spacing local max_hl_digits=0