Skip to content
Myr

Merge pull request #854 from Rohan5commit/docs/fix-arithmetic-wording

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by GitHub · parents fe75d1c, 926b89c · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • docs: fix arithmetic wording in help text

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/cli.rs+1 added-1 removed
165 unmodified lines
166 "Perform benchmark runs for each value in the range MIN..MAX. Replaces the \167 string '{VAR}' in each command by the current parameter value.\n\n \168 Example: hyperfine --prepare 'make clean' -P threads 1 8 'make -j {threads}'\n\n\169 This performs benchmarks for 'make -j 1', 'make -j 2', …, 'make -j 8'.\n\n\170 To have the value increase following different patterns, use shell arithmetics.\n\n \170 To have the value increase following different patterns, use shell arithmetic.\n\n \171 Example: hyperfine -P size 0 3 'sleep $((2**{size}))'\n\n\172 This performs benchmarks with power of 2 increases: 'sleep 1', 'sleep 2', 'sleep 4', …\n\173 The exact syntax may vary depending on your shell and OS."174 ),
244 unmodified lines