Outdated `litefs` usage instructions on config
Closed this issue · 2 comments
tylerritchie commented
I'm pretty confident this section of the litefs
config docs are out of date
old and busted:
litefs -config /path/to/litefs.yml
new hotness:
litefs mount -config /path/to/litefs.yml
litefs run -config /path/to/litefs.yml
https://github.com/superfly/docs/blob/main/litefs/config.html.markerb#L25
@benbjohnson: FYI
if that seems right i can open a PR.
tylerritchie commented
i feel emboldened, this would match what i've seen, but i don't know Go
.run()
receivesargs > 0
andargs[1:]
is the string config"-config"
- regardless, it doesn't matter, we end in the
default
case and print usage information
benbjohnson commented
Good catch! I made a PR for the change and merged it in. It should be live in a few minutes. Thanks! #1172