Skip to content

Commit f0130ab

Browse files
committed
doc: replace -? with -h for bench_bitcoin help
The question mark (`?`) is interpreted as a wildcard for any single character in Zsh (see https://www.techrepublic.com/article/globbing-wildcard-characters-with-zsh), so `bench_bitcoin -?` will not work on systems using Zsh, such as macOS. Since `-h` provides equivalent help functionality (as defined in https://github.com/bitcoin/bitcoin/blob/master/src/common/args.cpp#L684-L693), the `benchmarking.md` documentation has been updated to ensure compatibility with macOS. \
1 parent e8f72ae commit f0130ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/benchmarking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The output will look similar to:
4040
Help
4141
---------------------
4242

43-
build/src/bench/bench_bitcoin -?
43+
build/src/bench/bench_bitcoin -h
4444

4545
To print the various options, like listing the benchmarks without running them
4646
or using a regex filter to only run certain benchmarks.

0 commit comments

Comments
 (0)