Add history --help

This was probably an oversight - the builtin supports it, the function doesn't.
This commit is contained in:
Fabian Homborg 2016-03-29 19:56:14 +02:00
parent 0e18e2ba78
commit aacdaee6a9

View file

@ -36,6 +36,8 @@ function history --description "Deletes an item from history"
set cmd print
case --merge
set cmd merge
case --help
set cmd help
case --
set -e argv[$i]
break
@ -131,6 +133,8 @@ function history --description "Deletes an item from history"
builtin history $argv
case merge
builtin history --merge
case help
builtin history --help
case clear
# Erase the entire history
echo "Are you sure you want to clear history ? (y/n)"