From 818405fca3f1d5baadcb62a6ac2700b65724148d Mon Sep 17 00:00:00 2001 From: Brad King <brad.king@kitware.com> Date: Thu, 10 Nov 2016 14:59:53 -0500 Subject: [PATCH] Fix typo in clang-format script documentation Fix the path to the script within this source tree in example commands. Change-Id: Iee85cf12b2cf49eea7959685fe9bec223f7c1ff2 --- clang-format.bash | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/clang-format.bash b/clang-format.bash index 69502c4..3e82770 100755 --- a/clang-format.bash +++ b/clang-format.bash @@ -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.. ' -- GitLab