Skip to content
Snippets Groups Projects
Commit 818405fc authored by Brad King's avatar Brad King
Browse files

Fix typo in clang-format script documentation

Fix the path to the script within this source tree in example commands.

Change-Id: Iee85cf12b2cf49eea7959685fe9bec223f7c1ff2
parent 6a642f72
No related branches found
No related tags found
No related merge requests found
......@@ -30,24 +30,24 @@ usage='usage: clang-format.bash [<options>] [--]
help="$usage"'
Example to format locally modified files:
Utilities/Scripts/clang-format.bash --modified
./clang-format.bash --modified
Example to format locally modified files staged for commit:
Utilities/Scripts/clang-format.bash --cached
./clang-format.bash --cached
Example to format files modified by the most recent commit:
Utilities/Scripts/clang-format.bash --amend
./clang-format.bash --amend
Example to format all files:
Utilities/Scripts/clang-format.bash --tracked
./clang-format.bash --tracked
Example to format the current topic:
git filter-branch \
--tree-filter "Utilities/Scripts/clang-format.bash --tracked" \
--tree-filter "./clang-format.bash --tracked" \
master..
'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment