Add help and mention the website at the bottom of "wiki --list"
This commit is contained in:
parent
876394a0e5
commit
591738ca32
5
wiki
5
wiki
|
@ -17,6 +17,9 @@ fi
|
||||||
|
|
||||||
if [ "$1" == "--list" ]; then
|
if [ "$1" == "--list" ]; then
|
||||||
ls -1 $WIKI_PATH/*.txt | cut -f 7 -d "/" | cut -f 1 -d "."
|
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
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -52,4 +55,4 @@ if [ ! -f $path ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
less $path
|
less $path
|
||||||
|
|
Loading…
Reference in New Issue