From 535a4ac3ab492dd47f9998ba017fd39b68ff112c Mon Sep 17 00:00:00 2001 From: Yegor Date: Thu, 19 Nov 2020 16:41:09 -0800 Subject: [PATCH] Clean-up docs for the --web-renderer option (#70880) --- .../flutter_tools/lib/src/runner/flutter_command.dart | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/flutter_tools/lib/src/runner/flutter_command.dart b/packages/flutter_tools/lib/src/runner/flutter_command.dart index 71bb4522c7c..635b6f2f7ff 100644 --- a/packages/flutter_tools/lib/src/runner/flutter_command.dart +++ b/packages/flutter_tools/lib/src/runner/flutter_command.dart @@ -463,11 +463,10 @@ abstract class FlutterCommand extends Command { argParser.addOption('web-renderer', defaultsTo: 'html', allowed: ['auto', 'canvaskit', 'html'], - help: 'Which rendering backend to use for Flutter for Web.' - 'auto - Use the HTML renderer on mobile devices,' - ' and CanvasKit on desktop devices.' - 'canvaskit - Always use the CanvasKit renderer.' - 'html - Default. Always use the HTML renderer.', + help: 'The renderer implementation to use when building for the web. Possible values are:\n' + 'html - always use the HTML renderer. This renderer uses a combination of HTML, CSS, SVG, 2D Canvas, and WebGL. This is the default.\n' + 'canvaskit - always use the CanvasKit renderer. This renderer uses WebGL and WebAssembly to render graphics.\n' + 'auto - use the HTML renderer on mobile devices, and CanvasKit on desktop devices.', ); }