summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar steering72532026-05-18 02:08:24 -0600
committerGravatar steering72532026-05-18 02:08:24 -0600
commitcadbeccb21cf030cfec78b59b00a41157edaf042 (patch)
treeb7faf6c56b1de6aa286267403ff507fd7d07a0e0
parentfix addkey (diff)
fix help
-rwxr-xr-xhelp2
1 files changed, 1 insertions, 1 deletions
diff --git a/help b/help
index 13dc75e..1b74237 100755
--- a/help
+++ b/help
@@ -3,8 +3,8 @@
echo -e "\e]0;$USER@$HOSTNAME\e\\"
-cd "$(dirname "$0")"
if [ $# -eq 0 ]; then
+ cd "$(dirname "$0")"
echo "Commands available:"
find -L . -maxdepth 1 -type f \! -name '.*' -execdir perl -e '$w=80;$buf=""; for (@ARGV) { s@^\./@@; if (length("$buf $_") > $w) { print("$buf\n"); $buf = ""; } $buf .= " $_"; } print("$buf\n");' {} +
echo