Skip to content

Commit 6a362d6

Browse files
dmcppcheckclaude
andcommitted
manual: quote Visual Studio macro arguments and allow them to wrap in the PDF
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 18f0650 commit 6a362d6

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

‎man/manual.md‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,12 @@ Add a "Cppcheck File" command:
15211521

15221522
- Title: anything you like, for instance `Cppcheck File`
15231523
- Command: the path to the Cppcheck executable, for instance `C:\Program Files\Cppcheck\cppcheck.exe`
1524-
- Arguments: `--enable=style -q --template=vs $(ItemPath)`
1524+
- Arguments:
1525+
1526+
```
1527+
--enable=style -q --template=vs "$(ItemPath)"
1528+
```
1529+
15251530
- Ensure that "Use Output window" is selected.
15261531

15271532
Add a "Cppcheck Project" command:
@@ -1530,7 +1535,12 @@ Add a "Cppcheck Project" command:
15301535

15311536
- Title: anything you like, for instance `Cppcheck Project`
15321537
- Command: the path to the Cppcheck executable, for instance `C:\Program Files\Cppcheck\cppcheck.exe`
1533-
- Arguments: `--enable=style -j12 -q --template=vs --project=$(ProjectDir)$(ProjectFileName)`
1538+
- Arguments:
1539+
1540+
```
1541+
--enable=style -j12 -q --template=vs --project="$(ProjectDir)$(ProjectFileName)"
1542+
```
1543+
15341544
- Modify `-j12` so that the desired number of threads is used.
15351545
- Ensure that "Use Output window" is selected.
15361546

0 commit comments

Comments
 (0)