From 479bb3cd36689ac56581ed2f3e171fe1489b5547 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Thu, 5 Nov 2020 15:09:55 +0900 Subject: [PATCH] Tweak error messages --- fisher.fish | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fisher.fish b/fisher.fish index 0659a49..a6eb1eb 100644 --- a/fisher.fish +++ b/fisher.fish @@ -46,7 +46,7 @@ function fisher -a cmd -d "fish plugin manager" if not set -q argv[2] if test "$cmd" != update - echo "fisher: invalid number of arguments (see `fisher -h`)" >&2 && return 1 + echo "fisher: invalid number of arguments -- see `fisher -h`" >&2 && return 1 end test -e $fish_plugins && set -l new_plugins (_fisher_plugin_parse (string trim <$fish_plugins)) @@ -99,7 +99,7 @@ function fisher -a cmd -d "fish plugin manager" command cp -Rf \$tmp/*/* $fisher_data/$plugin command rm -rf \$tmp else - echo fisher: cannot install \"$plugin\" \(is this a valid plugin\?\) >&2 + echo fisher: cannot install \"$plugin\" -- is this a valid plugin\? >&2 end end " >/dev/null & @@ -169,7 +169,7 @@ function fisher -a cmd -d "fish plugin manager" test -s $fish_plugins || test "$cmd" = remove case \* - echo "fisher: unknown flag or command \"$cmd\" (see `fisher -h)`" >&2 + echo "fisher: unknown flag or command \"$cmd\" -- see `fisher -h`" >&2 return 1 end end