From 4463ac6639d5bab953c210b04a0547600eb3bb11 Mon Sep 17 00:00:00 2001 From: Liam Jones Date: Tue, 6 Jul 2021 13:25:54 +0100 Subject: [PATCH] fix: remove unused --verbose option from start command (#1394) The start command had a `--verbose` option that didn't do anything. You _do_ get extra logging with `--verbose` but this comes from the parent react-native command, where it is already documented. --- docs/commands.md | 4 ---- packages/cli/src/commands/start/runServer.ts | 1 - packages/cli/src/commands/start/start.ts | 4 ---- 3 files changed, 9 deletions(-) diff --git a/docs/commands.md b/docs/commands.md index 2510c8be2..36fe3086e 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -499,10 +499,6 @@ Removes cached files Path to a JavaScript file that exports a log reporter as a replacement for TerminalReporter -#### `--verbose` - -Enables logging - #### `--https` Enables https connections to the server diff --git a/packages/cli/src/commands/start/runServer.ts b/packages/cli/src/commands/start/runServer.ts index 535622f0d..a7acbbae6 100644 --- a/packages/cli/src/commands/start/runServer.ts +++ b/packages/cli/src/commands/start/runServer.ts @@ -33,7 +33,6 @@ export type Args = { resetCache?: boolean; sourceExts?: string[]; transformer?: string; - verbose?: boolean; watchFolders?: string[]; config?: string; projectRoot?: string; diff --git a/packages/cli/src/commands/start/start.ts b/packages/cli/src/commands/start/start.ts index 4a266ced1..accfa96eb 100644 --- a/packages/cli/src/commands/start/start.ts +++ b/packages/cli/src/commands/start/start.ts @@ -67,10 +67,6 @@ export default { description: 'Path to a JavaScript file that exports a log reporter as a replacement for TerminalReporter', }, - { - name: '--verbose', - description: 'Enables logging', - }, { name: '--https', description: 'Enables https connections to the server',