diff --git a/config/config_v1.go b/config/config_v1.go index f3a1f4af..84568d63 100644 --- a/config/config_v1.go +++ b/config/config_v1.go @@ -135,7 +135,7 @@ func convertToLatestConfig(pathToToml string) error { } str := strings.Replace(buf.String(), "\n [", "\n\n [", -1) str = fmt.Sprintf("%s\n\n%s", - "# See README for details: https://vuls.io/docs/en/usage-settings.html", + "# See README for details: https://vuls.io/docs/en/config.toml.html", str) return os.WriteFile(realPath, []byte(str), 0600) diff --git a/saas/uuid.go b/saas/uuid.go index dbe1f0f6..368f5851 100644 --- a/saas/uuid.go +++ b/saas/uuid.go @@ -140,7 +140,7 @@ func writeToFile(cnf config.Config, path string) error { } str := strings.Replace(buf.String(), "\n [", "\n\n [", -1) str = fmt.Sprintf("%s\n\n%s", - "# See README for details: https://vuls.io/docs/en/usage-settings.html", + "# See README for details: https://vuls.io/docs/en/config.toml.html", str) return os.WriteFile(realPath, []byte(str), 0600) diff --git a/subcmds/configtest.go b/subcmds/configtest.go index 163144c5..bc25331e 100644 --- a/subcmds/configtest.go +++ b/subcmds/configtest.go @@ -77,7 +77,7 @@ func (p *ConfigtestCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interfa msg := []string{ fmt.Sprintf("Error loading %s", p.configPath), "If you update Vuls and get this error, there may be incompatible changes in config.toml", - "Please check config.toml template : https://vuls.io/docs/en/usage-settings.html", + "Please check config.toml template : https://vuls.io/docs/en/config.toml.html", } logging.Log.Errorf("%s\n%+v", strings.Join(msg, "\n"), err) return subcommands.ExitUsageError diff --git a/subcmds/scan.go b/subcmds/scan.go index 83913e82..42b60308 100644 --- a/subcmds/scan.go +++ b/subcmds/scan.go @@ -113,7 +113,7 @@ func (p *ScanCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) msg := []string{ fmt.Sprintf("Error loading %s", p.configPath), "If you update Vuls and get this error, there may be incompatible changes in config.toml", - "Please check config.toml template : https://vuls.io/docs/en/usage-settings.html", + "Please check config.toml template : https://vuls.io/docs/en/config.toml.html", } logging.Log.Errorf("%s\n%+v", strings.Join(msg, "\n"), err) return subcommands.ExitUsageError