Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple output policies #775

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Multiple output policies #775

merged 1 commit into from
Nov 11, 2024

Conversation

sharkdp
Copy link
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
15 checks passed
@sharkdp sharkdp deleted the multiple-output-policies branch November 11, 2024 21:24
@StripedMonkey
Copy link

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

@sharkdp
Copy link
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