X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2Flib%2Flogin_functions.sh;h=3d2cacd2e129e201910e27f47bdcfbaa62e08898;hb=96b36b7fd0a16577b882efe510770f2a58a776f1;hp=0f0ab7da8c6c41b083fa6d33debb3a67368c900d;hpb=d72bfd8f319a8f37d17e6fb50d3db5701bd94cc3;p=khome.git diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index 0f0ab7d..3d2cacd 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -7,7 +7,6 @@ d() { shell_activity_report() { # TODO: optional concrete number output - # TODO: manual weekday calc (since forking date is so expensive) # TODO: optional combinations of granularities: hour, weekday, month, year local group_by="$1" case "$group_by" in @@ -15,7 +14,7 @@ shell_activity_report() { 'dow') ;; '') group_by='dow';; *) - echo "Usage: $0 DIRECTORY [mon|dow]" >&2 + echo "Usage: $0 [mon|dow]" >&2 exit 1 esac history \