diff --git a/cmd/app/cli/runscript/scripts/archive_drop_reports/command.go b/cmd/app/cli/runscript/scripts/archive_drop_reports/command.go index bb36a9d9..c0e6e5b6 100644 --- a/cmd/app/cli/runscript/scripts/archive_drop_reports/command.go +++ b/cmd/app/cli/runscript/scripts/archive_drop_reports/command.go @@ -25,10 +25,8 @@ func Command(depsFn func() CommandDeps) *cli.Command { Required: true, }, &cli.BoolFlag{ - Name: "delete-after-archive", - Aliases: []string{"D"}, - Usage: "delete the archived drop reports and extras after archiving", - Required: true, + Name: "delete-after-archive", + Usage: "delete the archived drop reports and extras after archiving", }, }, Action: func(ctx *cli.Context) error { diff --git a/docs/docs.go b/docs/docs.go index 34a05ed5..c9e98a6f 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1363,6 +1363,11 @@ const docTemplate = `{ "type": "string", "example": "main_01-07" }, + "times": { + "type": "integer", + "maximum": 6, + "minimum": 0 + }, "version": { "description": "Version describes the version of the source app used to submit this report. Third-party API consumers should change this to their own app version.", "type": "string", diff --git a/docs/swagger.json b/docs/swagger.json index d8f2c47d..9a4db54d 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -1359,6 +1359,11 @@ "type": "string", "example": "main_01-07" }, + "times": { + "type": "integer", + "maximum": 6, + "minimum": 0 + }, "version": { "description": "Version describes the version of the source app used to submit this report. Third-party API consumers should change this to their own app version.", "type": "string", diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 2027cdee..99886bc7 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -304,6 +304,10 @@ definitions: stageId: example: main_01-07 type: string + times: + maximum: 6 + minimum: 0 + type: integer version: description: Version describes the version of the source app used to submit this report. Third-party API consumers should change this to their own app