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

should tell user we support time in string format and numerical format in command help. #4670

Closed
zhoucheng361 opened this issue Apr 9, 2024 · 0 comments · Fixed by #4671
Closed

Comments

@zhoucheng361
Copy link
Contributor

zhoucheng361 commented Apr 9, 2024

What would you like to be added:

root@bench-01:~/juicefs# ./juicefs mount --help
--cache-expire value cached blocks not accessed for longer than this option will be automatically evicted (0 means never) (default: "0")
user don't know the unit of value

--cache-scan-interval value interval (in seconds) to scan cache-dir to rebuild in-memory index (default: "3600")
3600 should be 1h

we should tell the user we support time in string format and numerical format in command help.

Why is this needed:

@zhoucheng361 zhoucheng361 added kind/feature New feature or request and removed kind/feature New feature or request labels Apr 9, 2024
@zhoucheng361 zhoucheng361 changed the title should specify the unit of value for cache-expire. should specify the unit of value for time options Apr 9, 2024
@zhoucheng361 zhoucheng361 changed the title should specify the unit of value for time options should tell user we support time in string format and numerical format in the help document. Apr 9, 2024
@zhoucheng361 zhoucheng361 changed the title should tell user we support time in string format and numerical format in the help document. should tell user we support time in string format and numerical format in command help. Apr 9, 2024
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 a pull request may close this issue.

1 participant