Skip to content

🎥 Make videos programmatically with React

Fixed documentation of --png flag.

Shankhadeep Dey928e9ba8ab20
diff --git a/packages/docs/docs/cli.md b/packages/docs/docs/cli.md
index 38b4df1761..c0f0c9d422 100644
--- a/packages/docs/docs/cli.md
+++ b/packages/docs/docs/cli.md
@@ -15,12 +15,12 @@ Besides choosing a video and output location with the command line arguments, th
- `--props`: React Props to pass to the root component of your video. Must be a serialized JSON string.
- `--concurrency`: [How many CPU threads to use.](config#setconcurrency) Minimum 1. The maximum is the amount of threads you have.
-- `--png`: [Render a PNG sequence with transparency instead.](config#setoutputformat) If you use this option, the output location you pass must be a folder name.
+- `--png`: [Render a PNG sequence with transparency instead.](config#setoutputformat) If you use this option, the output location you pass must be a folder name. It will override `--format` flag.
- `--pixel-format`: [Set a custom pixel format. See here for available values.](config#setpixelformat)
- `--config`: Specify a location for the Remotion config file.
- `--quality`: [Value between 0 and 100 for JPEG rendering quality](config#setquality). Doesn't work when `--png` is set.
- `--overwrite`: [Write to output even if file already exists.](config#setoverwriteoutput)
-- `--format`: [Either `mp4` or `png-sequence` or `webm-v8` or `webm-v9`](config#setoutputformat). It will override `--png` flag. Use `--format png-sequence` instead of `--png` flag.
+- `--format`: [Either `mp4` or `png-sequence` or `webm-v8` or `webm-v9`](config#setoutputformat). You can use `--format png-sequence` instead of `--png` flag.
:::info
If you don't feel like passing command line flags every time, consider creating a `remotion.config.ts` [config file](config).