Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorMartin Hořeňovský2018-03-07 10:37:50 +0100
committerGitHub2018-03-07 10:37:50 +0100
commit552589f25bb469daa054fa37edee7f564ca1e309 (patch)
tree479c38b5fb84fa0cb65ac7b111eeda7b4bda7f8d /scripts
parent95c849f613a79cb3c7f59aa0589304513688aba1 (diff)
parentb11175548afa0cb6ea03b9f73d7e038cf6d6688e (diff)
downloadcatch3-552589f25bb469daa054fa37edee7f564ca1e309.tar.gz
Merge branch 'master' into master
Diffstat (limited to 'scripts')
-rw-r--r--scripts/updateDocumentToC.py6
-rw-r--r--scripts/updateVcpkgPackage.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/updateDocumentToC.py b/scripts/updateDocumentToC.py
index 948e5e1d..e706c5c3 100644
--- a/scripts/updateDocumentToC.py
+++ b/scripts/updateDocumentToC.py
@@ -127,7 +127,7 @@ def tagAndCollect(lines, id_tag=True, back_links=False, exclude_h=None):
A list of 3-value sublists, where the first value
represents the heading, the second value the string
that was inserted assigned to the IDs in the anchor tags,
- and the third value is an integer that reprents the headline level.
+ and the third value is an integer that represents the headline level.
E.g.,
[['some header lvl3', 'some-header-lvl3', 3], ...]
@@ -282,7 +282,7 @@ def markdownToclify(
input_file: str
Path to the markdown input file.
- output_file: str (defaul: None)
+ output_file: str (default: None)
Path to the markdown output file.
min_toc_len: int (default: 2)
@@ -420,7 +420,7 @@ def updateDocumentToCMain():
default=minTocEntries,
type=int,
metavar='N',
- help='the minimum number of entries to create a table of contents for [{deflt}]'.format(deflt=minTocEntries))
+ help='the minimum number of entries to create a table of contents for [{default}]'.format(default=minTocEntries))
parser.add_argument(
'--remove-toc',
diff --git a/scripts/updateVcpkgPackage.py b/scripts/updateVcpkgPackage.py
index 43321e15..fd7b759a 100644
--- a/scripts/updateVcpkgPackage.py
+++ b/scripts/updateVcpkgPackage.py
@@ -89,7 +89,7 @@ def git_push(path_to_repo):
# Make sure we branch off master
subprocess.call('git checkout master', shell=True)
- # Update repo to current master, so we don't work off old version of the portsfile
+ # Update repo to current master, so we don't work off old version of the portfile
subprocess.call('git pull Microsoft master', shell=True)
subprocess.call('git push', shell=True)