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

doc: fix flag info and error message for block serving #1825

Merged
merged 1 commit into from
Dec 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/booster-http/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ var runCmd = &cli.Command{
if _, err := fmt.Fprintf(ctx.App.ErrWriter, "--serve-blocks is no longer supported.\n\n%s\n\n", trustlessMessage); err != nil {
return err
}
return errors.New("--serve-blocks is no longer supported, use bifrost-gateway instead")
return errors.New("--serve-blocks is no longer supported, --serve-cars implies raw block support")
},
},
&cli.BoolFlag{
Name: "serve-cars",
Usage: "serve CAR files with the Trustless IPFS Gateway API",
Usage: "serve CAR files and raw blocks with the Trustless IPFS Gateway API",
Value: true,
},
&cli.BoolFlag{
Expand Down