Skip to content

Commit

Permalink
upload by default
Browse files Browse the repository at this point in the history
  • Loading branch information
directionless committed Oct 30, 2023
1 parent a767b3a commit cb44332
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions cmd/launcher/flare.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,10 @@ func runFlare(args []string) error {
launcher.SetDefaultPaths()

var (
flagset = flag.NewFlagSet("flare", flag.ExitOnError)
flSave = flagset.String(
"save",
"local",
"local | upload",
)
flOutputDir = flagset.String(
"output_dir",
".",
"path to directory to save flare output",
)
flUploadRequestURL = flagset.String(
"upload_request_url",
"",
"URL to request a signed upload URL",
)
flagset = flag.NewFlagSet("flare", flag.ExitOnError)
flSave = flagset.String("save", "upload", "local | upload")
flOutputDir = flagset.String("output_dir", ".", "path to directory to save flare output")
flUploadRequestURL = flagset.String("upload_request_url", "", "URL to request a signed upload URL")
)

if err := ff.Parse(flagset, args); err != nil {
Expand Down

0 comments on commit cb44332

Please sign in to comment.