Skip to content

uptime: refactor uumain #7892

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

Merged
merged 3 commits into from
May 9, 2025
Merged

Conversation

cakebaker
Copy link
Contributor

This PR refactors uumain. It applies the following changes:

  • use clap to handle the "too many paths provided" error case
  • remove unix block and make a single var platform-specific instead
  • split default_uptime into two functions

Copy link

github-actions bot commented May 6, 2025

GNU testsuite comparison:

Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

@sylvestre sylvestre merged commit 45b0c39 into uutils:main May 9, 2025
70 checks passed
@cakebaker cakebaker deleted the uptime_refactor_uumain branch May 10, 2025 04:56
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.

2 participants