Skip to content

Commit ec23f30

Browse files
committed
Revert manual changes
1 parent ae373f5 commit ec23f30

2 files changed

Lines changed: 8 additions & 16 deletions

File tree

man/manual-premium.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,17 +121,13 @@ check:
121121

122122
All files under src/a and src/b are then checked.
123123

124-
The second option is to use -i, which specifies a pattern of path names to ignore. With this command no files in src/c
125-
are checked:
124+
The second option is to use -i, which specifies the files/paths to ignore. With this command no files in src/c are
125+
checked:
126126

127127
cppcheck -isrc/c src
128128

129-
The above pattern matches any path that has a component named src anywhere, which is directly followed by a component
130-
named c. c can be a file or a directory, in which case all files below c are ignored. Patterns can also be absolute
131-
paths, or relative to the current directory if the first path component is dot or dot-dot. The glob characters ?, \*
132-
and \*\* are allowed. ? matches one character, \* and \*\* match any number of characters. \*\* matches path
133-
separators, where as ? and \* does not. Multiple patterns can be used by supplying the -i flag multiple times. The
134-
following command ignores everything in both the src/b and src/c directories:
129+
This option is only valid when supplying an input directory. To ignore multiple directories supply the -i flag for each
130+
directory individually. The following command ignores both the src/b and src/c directories:
135131

136132
cppcheck -isrc/b -isrc/c
137133

man/manual.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,17 +122,13 @@ check:
122122

123123
All files under src/a and src/b are then checked.
124124

125-
The second option is to use -i, which specifies a pattern of path names to ignore. With this command no files in src/c
126-
are checked:
125+
The second option is to use -i, which specifies the files/paths to ignore. With this command no files in src/c are
126+
checked:
127127

128128
cppcheck -isrc/c src
129129

130-
The above pattern matches any path that has a component named src anywhere, which is directly followed by a component
131-
named c. c can be a file or a directory, in which case all files below c are ignored. Patterns can also be absolute
132-
paths, or relative to the current directory if the first path component is dot or dot-dot. The glob characters ?, \*
133-
and \*\* are allowed. ? matches one character, \* and \*\* match any number of characters. \*\* matches path
134-
separators, where as ? and \* does not. Multiple patterns can be used by supplying the -i flag multiple times. The
135-
following command ignores everything in both the src/b and src/c directories:
130+
This option is only valid when supplying an input directory. To ignore multiple directories supply the -i flag for each
131+
directory individually. The following command ignores both the src/b and src/c directories:
136132

137133
cppcheck -isrc/b -isrc/c
138134

0 commit comments

Comments
 (0)