From 871e7016fcb348dd36c096ddb1898f28975ef517 Mon Sep 17 00:00:00 2001 From: sandeep <8293321+ehsandeep@users.noreply.github.com> Date: Thu, 20 Apr 2023 03:39:33 +0530 Subject: [PATCH] version update --- README.md | 2 +- v2/cmd/nuclei/main.go | 2 +- v2/pkg/catalog/config/constants.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5e3571fa..3adb40e7 100644 --- a/README.md +++ b/README.md @@ -265,7 +265,7 @@ DEBUG: -hc, -health-check run diagnostic check up UPDATE: - -un, -update update nuclei engine to the latest released version + -up, -update update nuclei engine to the latest released version -ut, -update-templates update nuclei-templates to latest released version -ud, -update-template-dir string custom directory to install / update nuclei-templates -duc, -disable-update-check disable automatic nuclei/templates update check diff --git a/v2/cmd/nuclei/main.go b/v2/cmd/nuclei/main.go index 20b86dbe..f39cd745 100644 --- a/v2/cmd/nuclei/main.go +++ b/v2/cmd/nuclei/main.go @@ -292,7 +292,7 @@ on extensive configurability, massive extensibility and ease of use.`) ) flagSet.CreateGroup("update", "Update", - flagSet.CallbackVarP(runner.NucleiToolUpdateCallback, "update", "un", "update nuclei engine to the latest released version"), + flagSet.CallbackVarP(runner.NucleiToolUpdateCallback, "update", "up", "update nuclei engine to the latest released version"), flagSet.BoolVarP(&options.UpdateTemplates, "update-templates", "ut", false, "update nuclei-templates to latest released version"), flagSet.StringVarP(&options.NewTemplatesDirectory, "update-template-dir", "ud", "", "custom directory to install / update nuclei-templates"), flagSet.CallbackVarP(disableUpdatesCallback, "disable-update-check", "duc", "disable automatic nuclei/templates update check"), diff --git a/v2/pkg/catalog/config/constants.go b/v2/pkg/catalog/config/constants.go index 9e4a06e2..493671f6 100644 --- a/v2/pkg/catalog/config/constants.go +++ b/v2/pkg/catalog/config/constants.go @@ -16,7 +16,7 @@ const ( CLIConifgFileName = "config.yaml" ReportingConfigFilename = "reporting-config.yaml" // Version is the current version of nuclei - Version = `v2.9.2-dev` + Version = `v2.9.2` // Directory Names of custom templates CustomS3TemplatesDirName = "s3"