refactor: add more info to help command

Command line usage help now tells you that running fisher will
update installed packages. Running fisher also commits fishfile
changes, but I couldn't fit all the words on the same line.
This commit is contained in:
Jorge Bucaran 2018-10-16 14:27:16 +09:00
parent 76bb67b9c6
commit 207ccf00b6
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30

View file

@ -91,20 +91,23 @@ function _fisher_version -a file
end
function _fisher_help
echo "usage: fisher add <PACKAGES> add packages"
echo "usage: "
echo " fisher add <PACKAGES> add packages"
echo " fisher rm <PACKAGES> remove packages"
echo " fisher ls list installed packages"
echo " fisher self-update update fisher"
echo " fisher self-uninstall uninstall fisher & all packages"
echo " fisher update installed packages"
echo " fisher ls show installed packages"
echo " fisher help show this help"
echo " fisher version show version"
echo " fisher self-update update fisher"
echo " fisher self-uninstall uninstall fisher"
echo
echo "examples:"
echo " fisher add jethrokuan/z rafaelrinaldi/pure"
echo " fisher add gitlab.com/owner/foobar@v2"
echo " fisher add ~/myfish/mypkg"
echo " fisher add ~/path/to/myfish/pkg"
echo " fisher rm rafaelrinaldi/pure"
echo " fisher ls | fisher rm"
echo " fisher add < bundle"
end
function _fisher_self_update -a file