apache, update docs
[small-misc-bash] / ll-function
index c5ff61822252e028fd9a7698aff4958419012ea9..c17ff3d36ef206bdf4ea68deef9646697c070349 100644 (file)
 # 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