diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6471f09781..7968bad2f9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: args: ['--fix=lf'] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.1 + rev: v0.8.1 hooks: - id: ruff # Run the linter. types_or: [ python ] @@ -38,7 +38,7 @@ repos: - id: cppcheck args: ["--std=c++11", "--language=c++", "--suppressions-list=cppcheckSuppressions.txt", "--inline-suppr", "--force"] - repo: https://github.com/BlankSpruce/gersemi - rev: 0.17.0 + rev: 0.17.1 hooks: - id: gersemi - repo: https://github.com/codespell-project/codespell @@ -47,7 +47,7 @@ repos: - id: codespell pass_filenames: false - repo: https://github.com/crate-ci/typos - rev: v1.26.8 + rev: v1.28.1 hooks: - id: typos args: ['--config=typos-config.toml'] diff --git a/Examples/PcapSearch/README.md b/Examples/PcapSearch/README.md index 564c99476e..8f5ffdff9b 100644 --- a/Examples/PcapSearch/README.md +++ b/Examples/PcapSearch/README.md @@ -33,6 +33,6 @@ Using the utility -s search_criteria : Criteria to search in Berkeley Packet Filter (BPF) syntax (http://biot.com/capstats/bpf.html) i.e: 'ip net 1.1.1.1' -r file_name : Write a detailed search report to a file -e extension_list : Set file extensions to search. The default is searching '.pcap' and '.pcapng' files. - extnesions_list should be a comma-separated list of extensions, for example: pcap,net,dmp + extension_list should be a comma-separated list of extensions, for example: pcap,net,dmp -v : Displays the current version and exists -h : Displays this help message and exits diff --git a/Examples/PcapSearch/dirent-for-Visual-Studio/include/dirent.h b/Examples/PcapSearch/dirent-for-Visual-Studio/include/dirent.h index 6adbbfdfa5..6bcd8059ab 100644 --- a/Examples/PcapSearch/dirent-for-Visual-Studio/include/dirent.h +++ b/Examples/PcapSearch/dirent-for-Visual-Studio/include/dirent.h @@ -846,7 +846,7 @@ extern "C" wcstr[n] = 0; } - /* Length of resuting multi-byte string WITH zero terminator */ + /* Length of resulting multi-byte string WITH zero terminator */ if (pReturnValue) { *pReturnValue = n + 1;