Skip to content

Commit

Permalink
cli: deprecate no-precheck flag
Browse files Browse the repository at this point in the history
Closes #2436.

Signed-off-by: Ekaterina Pavlova <[email protected]>
  • Loading branch information
AliceInHunterland committed Aug 10, 2023
1 parent b545bb3 commit 3f01823
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/neofs-cli/modules/container/set_eacl.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,5 @@ func initContainerSetEACLCmd() {
"Increases default execution timeout to %.0fs", awaitTimeout.Seconds())) // simple %s notation prints 1m0s https://github.com/golang/go/issues/39064
flags.BoolP(commonflags.ForceFlag, commonflags.ForceFlagShorthand, false, "skip validation checks (ownership, extensibility of the container ACL)")
flags.BoolVar(&flagVarsSetEACL.noPreCheck, "no-precheck", false, "do not pre-check the extensibility of the container ACL")
_ = flags.MarkDeprecated("no-precheck", "use --force flag instead for skipping validation checks")
}

0 comments on commit 3f01823

Please sign in to comment.