Skip to content

Multiple output policies#775

Merged
sharkdp merged 1 commit intomasterfrom
multiple-output-policies
Nov 11, 2024
Merged

Multiple output policies#775
sharkdp merged 1 commit intomasterfrom
multiple-output-policies

Conversation

@sharkdp
Copy link
Copy Markdown
Owner

@sharkdp sharkdp commented Nov 11, 2024

  • Allow --output to appear exactly once or exactly N times, enabling several new use cases like hyperfine --output=cmd1.log cmd1 --output=cmd2.log cmd2 or hyperfine --output=null cmd --output=./file cmd.
  • In the --help text for --output, mention the HYPERFINE_ITERATION environment variable for users who want to log each and every iteration.

closes #529

@sharkdp sharkdp merged commit 99d24b7 into master Nov 11, 2024
@sharkdp sharkdp deleted the multiple-output-policies branch November 11, 2024 21:24
@StripedMonkey
Copy link
Copy Markdown

Thank you for your hard work. It's much appreciated!

@sharkdp
Copy link
Copy Markdown
Owner Author

sharkdp commented Nov 11, 2024

Thanks for patiently waiting two years for this 😄

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.

--output overwrites previous commands and runs

2 participants