diff options
author | 2012-12-17 22:50:00 +0800 | |
---|---|---|
committer | 2012-12-17 20:08:45 -0800 | |
commit | 047906085855be325373b1914c056fedf0630424 (patch) | |
tree | 5aab75b26d0b3ddef50ef947877096ca4dad36aa /share/functions/help.fish | |
parent | c2e540340817b40114bb1b205848596ab8e950c3 (diff) |
A quick fix to issue #456.
Diffstat (limited to 'share/functions/help.fish')
-rw-r--r-- | share/functions/help.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/help.fish b/share/functions/help.fish index 4b2a0164..4164c01a 100644 --- a/share/functions/help.fish +++ b/share/functions/help.fish @@ -97,7 +97,7 @@ function help --description "Show help for the fish shell" # documentation. It's a bit of a hack, since it relies on the # Doxygen markup format to never change. - case (sed -n 's/.*<h2><a class="anchor" \(id\|name\)="\([^"]*\)">.*/\2/p' $__fish_help_dir/commands.html) + case (sed -n 's/.*<h[12]><a class="anchor" \(id\|name\)="\([^"]*\)">.*/\2/p' $__fish_help_dir/commands.html) set fish_help_page "commands.html\#$fish_help_item" case $help_topics set fish_help_page "index.html\#$fish_help_item" |