Skip to content

🎥 Make videos programmatically with React

formatting

Jonny Burgerbad73b1081ee
diff --git a/packages/cli/src/print-help.ts b/packages/cli/src/print-help.ts
index 39dfd49336..31cc7bddf9 100644
--- a/packages/cli/src/print-help.ts
+++ b/packages/cli/src/print-help.ts
@@ -19,8 +19,6 @@ export const printHelp = () => {
Log.info();
Log.info('Available commands:');
Log.info('');
- Log.info('remotion compositions <index-file.ts>');
- Log.info(chalk.gray('Prints the available compositions.'));
Log.info('remotion preview <index-file.ts>');
Log.info(chalk.gray('Start the preview server.'));
printFlags([['--props', 'Pass input props as filename or as JSON']]);
@@ -63,11 +61,7 @@ export const printHelp = () => {
]);
Log.info();
Log.info('remotion compositions <index-file.ts>');
- Log.info(
- chalk.gray(
- 'Print list of composition ids from the index file provided separated by line break'
- )
- );
+ Log.info(chalk.gray('Prints the available compositions.'));
Log.info();
Log.info('remotion ' + VERSIONS_COMMAND);
Log.info(
diff --git a/packages/docs/docs/cli.md b/packages/docs/docs/cli.md
index 7e87bf8f63..623d03a450 100644
--- a/packages/docs/docs/cli.md
+++ b/packages/docs/docs/cli.md
@@ -38,6 +38,8 @@ npx remotion still <entry-file> <composition-id> <output-location>
### `npx remotion compositions`
+_Available from v2.6.12._
+
Print list of composition ids from the index file provided separated by line break.
```bash
diff --git a/packages/example/package.json b/packages/example/package.json
index 86771f47bf..0a3b3d8bfd 100644
--- a/packages/example/package.json
+++ b/packages/example/package.json
@@ -12,7 +12,7 @@
"scripts": {
"start": "remotion preview src/index.tsx",
"start-js": "remotion preview src/entry.jsx",
- "comps": "remotion compositions src/index.tsx",
+ "comps": "remotion compositions src/index.tsx",
"lint": "eslint src --ext ts,tsx,js,jsx",
"test": "jest",
"build": "tsc -d",