Skip to content

Commit 2c3d30e

Browse files
committed
docs: fix image-cache-path flag description
Fix invalid description of flag, spotted during reviewing docs. Signed-off-by: Mateusz Urbanek <mateusz.urbanek@siderolabs.com>
1 parent 93f2e87 commit 2c3d30e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/talosctl/cmd/talos/image.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ func init() {
555555
imageCacheCreateCmd.PersistentFlags().BoolVar(&imageCacheCreateCmdFlags.force, "force", false, "force overwrite of existing image cache")
556556

557557
imageCmd.AddCommand(imageCacheServeCmd)
558-
imageCacheServeCmd.PersistentFlags().StringVar(&imageCacheServeCmdFlags.imageCachePath, "image-cache-path", "", "directory to save the image cache in OCI format")
558+
imageCacheServeCmd.PersistentFlags().StringVar(&imageCacheServeCmdFlags.imageCachePath, "image-cache-path", "", "directory to save the image cache in flat format")
559559
imageCacheServeCmd.MarkPersistentFlagRequired("image-cache-path") //nolint:errcheck
560560
imageCacheServeCmd.PersistentFlags().StringVar(&imageCacheServeCmdFlags.address, "address", constants.RegistrydListenAddress, "address to serve the registry on")
561561
imageCacheServeCmd.PersistentFlags().StringVar(&imageCacheServeCmdFlags.tlsCertFile, "tls-cert-file", "", "TLS certificate file to use for serving")

website/content/v1.12/reference/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1959,7 +1959,7 @@ talosctl image cache-serve [flags]
19591959
```
19601960
--address string address to serve the registry on (default "127.0.0.1:3172")
19611961
-h, --help help for cache-serve
1962-
--image-cache-path string directory to save the image cache in OCI format
1962+
--image-cache-path string directory to save the image cache in flat format
19631963
--tls-cert-file string TLS certificate file to use for serving
19641964
--tls-key-file string TLS key file to use for serving
19651965
```

0 commit comments

Comments
 (0)