This commit is contained in:
opfez 2021-07-17 14:58:41 +02:00
parent cb6bc2714d
commit b1117f3578
1 changed files with 10 additions and 0 deletions

10
h Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
# h - display help page for program
# based on https://hg.sr.ht/~sietsebb/dotfiles/browse/bin/h?rev=tip
man $1 ||
$1 --help 2>&1 | less ||
$1 -h 2>&1 | less ||
echo "no help page for $1"