From ab1212e9f1e3fb6cffe23ef2b95f295d8f492000 Mon Sep 17 00:00:00 2001 From: Maarten Sijm <9739541+mpsijm@users.noreply.github.com> Date: Wed, 27 Mar 2024 15:05:02 +0100 Subject: [PATCH] [doc] Consistently capitalize C++ --- bin/program.py | 2 +- bin/tools.py | 2 +- doc/commands.md | 2 +- doc/generators.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/program.py b/bin/program.py index c8bd4c65d..3173c9bff 100644 --- a/bin/program.py +++ b/bin/program.py @@ -282,7 +282,7 @@ def _get_language(self, deps=None): return False def _checks(self): - # Make sure c++ does not depend on stdc++.h, because it's not portable. + # Make sure C++ does not depend on stdc++.h, because it's not portable. if self.language == 'cpp': for f in self.source_files: try: diff --git a/bin/tools.py b/bin/tools.py index 9142b0b39..d06e93985 100755 --- a/bin/tools.py +++ b/bin/tools.py @@ -622,7 +622,7 @@ def build_parser(): runparser.add_argument( '--sanitizer', action='store_true', - help='Run submissions with additional sanitizer flags (currently only c++). Note that this sets --memory unlimited.', + help='Run submissions with additional sanitizer flags (currently only C++). Note that this sets --memory unlimited.', ) # Test diff --git a/doc/commands.md b/doc/commands.md index bdf604979..9be88f124 100644 --- a/doc/commands.md +++ b/doc/commands.md @@ -106,7 +106,7 @@ Use `bt run -v` to show results for all testcases. - `--table`: Print a table of which testcases were solved by which submissions. May be used to deduplicate testcases that fail the same solutions. - `--overview`/`-o`: Print a live overview of the received verdicts for all submissions and testcases. If combined with `--no-bar` only the final table is printed. - `--no-testcase-sanity-checks`: when passed, all sanity checks on the testcases are skipped. You might want to set this in `.bapctools.yaml`. -- `--sanitizer`: when passed, run submissions with additional sanitizer flags (currently only c++). Note that this sets --memory unlimited. +- `--sanitizer`: when passed, run submissions with additional sanitizer flags (currently only C++). Note that this sets --memory unlimited. ## `test` diff --git a/doc/generators.yaml b/doc/generators.yaml index b9340d24b..035c900d4 100644 --- a/doc/generators.yaml +++ b/doc/generators.yaml @@ -118,7 +118,7 @@ data: # Types of generator programs. "01": in: "3" # string is written to 01.in. - "02": greedy.cpp 4 # c++ is compiled, just like validators, and the resulting binary is run with argument `4`. + "02": greedy.cpp 4 # C++ is compiled, just like validators, and the resulting binary is run with argument `4`. "03": dir 5 # directories are OK, just like validators "04": tree 5 # keys from the global generators: dictionary may also be used. "05":