aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/help.fish
diff options
context:
space:
mode:
authorGravatar David Adam (zanchey) <zanchey@ucc.gu.uwa.edu.au>2013-05-23 14:03:16 +0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-05-25 13:47:34 -0700
commitd378904b98f0aff09e4a9f6d3d850a6fd09b80e2 (patch)
tree7ca410ee1f81776e70f17185fd39e31f75af0109 /share/functions/help.fish
parent3a4a2a6daca2e5822b067dffd5a30ec13a37c63e (diff)
help function: tidy up messages, remove the 'difference' option
Fixes #73
Diffstat (limited to 'share/functions/help.fish')
-rw-r--r--share/functions/help.fish8
1 files changed, 3 insertions, 5 deletions
diff --git a/share/functions/help.fish b/share/functions/help.fish
index 78f93657..dc98daf2 100644
--- a/share/functions/help.fish
+++ b/share/functions/help.fish
@@ -71,7 +71,7 @@ function help --description 'Show help for the fish shell'
if test -z $fish_browser
printf (_ '%s: Could not find a web browser.\n') help
- printf (_ 'Please set the variable $BROWSER to a suitable browser and try again\n\n')
+ printf (_ 'Please set the variable $BROWSER to a suitable browser and try again.\n\n')
return 1
end
@@ -82,8 +82,6 @@ function help --description 'Show help for the fish shell'
set fish_help_page index.html
case "."
set fish_help_page "commands.html\#source"
- case difference
- set fish_help_page difference.html
case globbing
set fish_help_page "index.html\#expand"
case (__fish_print_commands)
@@ -125,10 +123,10 @@ function help --description 'Show help for the fish shell'
switch $fish_browser
case 'htmlview' 'x-www-browser'
- printf (_ 'help: Help is being displayed in your default browser\n')
+ printf (_ 'help: Help is being displayed in your default browser.\n')
case '*'
- printf (_ 'help: Help is being displayed in %s\n') $fish_browser
+ printf (_ 'help: Help is being displayed in %s.\n') $fish_browser
end