Skip to content

Commit

Permalink
create: add compatibility hidden flag
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Di Maio <[email protected]>
  • Loading branch information
89luca89 committed Mar 11, 2024
1 parent 3d12da3 commit 377526a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ func NewCreateCommand() *cobra.Command {

// This does nothing, it's here for CLI compatibility with podman/docker
createCommand.Flags().String("security-opt", "", "")
createCommand.Flags().String("pids-limit", "", "")
_ = createCommand.Flags().MarkHidden("security-opt")
_ = createCommand.Flags().MarkHidden("pids-limit")

return createCommand
}
Expand Down

0 comments on commit 377526a

Please sign in to comment.