Skip to content

Commit

Permalink
default xray --changes flag to all
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Quest <kcq.public@gmail.com>
  • Loading branch information
kcq committed Jan 2, 2025
1 parent 617fb2c commit 76eb759
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ To disable the version checks set the global `--check-version` flag to `false` (
- `--registry-account` - Account to be used when pulling images from private registries (used with the `--pull` flag).
- `--registry-secret` - Account secret to be used when pulling images from private registries (used with the `--pull` and `--registry-account` flags).
- `--show-plogs` - Show image pull logs (default: false).
- `--changes value` - Show layer change details for the selected change type (values: none, all, delete, modify, add).
- `--changes-output value` - Where to show the changes (values: all, report, console).
- `--changes value` - Show layer change details for the selected change type (values: `none`, `all`, `delete`, `modify`, `add`; defaults to `all`).
- `--changes-output value` - Where to show the changes (values: `all`, `report`, `console`).
- `--layer value` - Show details for the selected layer (using layer index or ID)
- `--add-image-manifest` - Add raw image manifest to the command execution report file
- `--add-image-config` - Add raw image config object to the command execution report file
Expand Down
8 changes: 4 additions & 4 deletions pkg/app/master/command/xray/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,21 +96,21 @@ const (
var Flags = map[string]cli.Flag{
FlagChanges: &cli.StringSliceFlag{
Name: FlagChanges,
Value: cli.NewStringSlice(""),
Value: cli.NewStringSlice("all"),
Usage: FlagChangesUsage,
EnvVars: []string{"DSLIM_CHANGES"},
EnvVars: []string{"DSLIM_XRAY_CHANGES"},
},
FlagChangesOutput: &cli.StringSliceFlag{
Name: FlagChangesOutput,
Value: cli.NewStringSlice("all"),
Usage: FlagChangesOutputUsage,
EnvVars: []string{"DSLIM_CHANGES_OUTPUT"},
EnvVars: []string{"DSLIM_XRAY_CHANGES_OUTPUT"},
},
FlagLayer: &cli.StringSliceFlag{
Name: FlagLayer,
Value: cli.NewStringSlice(),
Usage: FlagLayerUsage,
EnvVars: []string{"DSLIM_LAYER"},
EnvVars: []string{"DSLIM_XRAY_LAYER"},
},
FlagAddImageManifest: &cli.BoolFlag{
Name: FlagAddImageManifest,
Expand Down

0 comments on commit 76eb759

Please sign in to comment.