Skip to content

fix: join command args after -- separator (fixes #802)#880

Open
leno23 wants to merge 2 commits into
sharkdp:masterfrom
leno23:fix/double-dash-command-separator-802
Open

fix: join command args after -- separator (fixes #802)#880
leno23 wants to merge 2 commits into
sharkdp:masterfrom
leno23:fix/double-dash-command-separator-802

Conversation

@leno23
Copy link
Copy Markdown

@leno23 leno23 commented May 17, 2026

Summary

  • Join all arguments after -- into a single benchmark command expression.
  • Enables hyperfine -r 5 --shell=none -- ls -la without quoting the command.

Test plan

  • Manual: hyperfine -r 1 --shell=none -- ls -la

Fixes #802

Made with Cursor

leno23 and others added 2 commits May 17, 2026 04:19
When --reference is used with --prepare/--conclude templates that contain
{parameter} placeholders, skip those hooks for the reference benchmark (it has
no parameters to substitute). Document how --reference relates to parameterized
benchmarks.

Fixes sharkdp#847

Co-authored-by: Cursor <cursoragent@cursor.com>
Allow `hyperfine -r 5 -- ls -la` without quoting the command by joining
all arguments after `--` into a single benchmark expression.

Fixes sharkdp#802

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow -- to signal end of argument parsing

1 participant