Add help and mention the website at the bottom of "wiki --list"

This commit is contained in:
Travis Briggs 2020-04-26 18:37:50 -06:00
parent 876394a0e5
commit 591738ca32
1 changed files with 4 additions and 1 deletions

5
wiki
View File

@ -17,6 +17,9 @@ fi
if [ "$1" == "--list" ]; then
ls -1 $WIKI_PATH/*.txt | cut -f 7 -d "/" | cut -f 1 -d "."
echo
echo "Type 'wiki <article> to read that article in your terminal"
echo "...or visit the wiki in your browser at: https://tilde.club/wiki/"
exit 0
fi
@ -52,4 +55,4 @@ if [ ! -f $path ]; then
exit 1
fi
less $path
less $path