Skip to content

Commit

Permalink
sundry
Browse files Browse the repository at this point in the history
  • Loading branch information
rusq committed Feb 9, 2024
1 parent 460f5af commit 41cd689
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/slackdump/internal/apiconfig/apiconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
// schemaJSONpath is the path to the schema JSON file for the limits yaml
// configuration file.
// TODO: update once released
const schemaJSONpath = "https://raw.githubusercontent.com/rusq/slackdump/cli-remake/cmd/slackdump/internal/apiconfig/schema.json"
const schemaJSONpath = "https://raw.githubusercontent.com/rusq/slackdump/v3/cmd/slackdump/internal/apiconfig/schema.json"

var CmdConfig = &base.Command{
UsageLine: "slackdump config",
Expand Down
2 changes: 1 addition & 1 deletion cmd/slackdump/internal/apiconfig/apiconfig_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

const (
sampleLimitsYaml = `# yaml-language-server: $schema=https://raw.githubusercontent.com/rusq/slackdump/cli-remake/cmd/slackdump/internal/apiconfig/schema.json
sampleLimitsYaml = `# yaml-language-server: $schema=https://raw.githubusercontent.com/rusq/slackdump/v3/cmd/slackdump/internal/apiconfig/schema.json
workers: 4
download_retries: 3
tier_2:
Expand Down
2 changes: 1 addition & 1 deletion cmd/slackdump/internal/dump/dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ var opts options
// initDumpFlagset initializes the flagset for the dump command.
func initDumpFlagset(fs *flag.FlagSet) {
fs.StringVar(&opts.nameTemplate, "ft", nametmpl.Default, "output file naming template.\n")
fs.BoolVar(&opts.compat, "compat", false, "compatibility mode")
fs.BoolVar(&opts.compat, "compat", false, "v2 compatibility mode")
fs.BoolVar(&opts.updateLinks, "update-links", false, "update file links to point to the downloaded files.")
}

Expand Down

0 comments on commit 41cd689

Please sign in to comment.