Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

• Command calls spread over multiple lines would not be read correctly

git-svn-id: http://svn.textmate.org/trunk/Review/Bundles/CMake.tmbundle@9693 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
commit 0bcdce69853f096a4b1bb572b5f0a2f8b8dc4a8d 1 parent 465f771
Ciarán Walsh ciaran authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Commands/Documentation For Word : Selection.tmCommand
2  Commands/Documentation For Word : Selection.tmCommand
View
@@ -7,7 +7,7 @@
<key>command</key>
<string>. "$TM_SUPPORT_PATH/lib/webpreview.sh"
-COMMAND=`cat | tr -d ' \t' | grep -o '^\w\+' | tr 'a-z' 'A-Z'`
+COMMAND=`cat | tr -d ' \t' | grep -m1 -o '^\w\+' | tr 'a-z' 'A-Z'`
html_header "Documentation for $COMMAND"
"${TM_CMAKE:-cmake}" --help-command "$COMMAND" | pre
Please sign in to comment.
Something went wrong with that request. Please try again.