From f19ccbf2d52ee8094b84b78ec17e2e6973dfcd83 Mon Sep 17 00:00:00 2001 From: Wyatt Arent Date: Sat, 22 Oct 2016 22:49:53 -0600 Subject: [PATCH 1/2] Fix Missing newline in flutter run help Issue #6461 --- packages/flutter_tools/lib/src/commands/run.dart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/flutter_tools/lib/src/commands/run.dart b/packages/flutter_tools/lib/src/commands/run.dart index e80d5f19d211f..17eb62ef5dbe3 100644 --- a/packages/flutter_tools/lib/src/commands/run.dart +++ b/packages/flutter_tools/lib/src/commands/run.dart @@ -71,9 +71,11 @@ class RunCommand extends RunCommandBase { // Option to write the pid to a file. argParser.addOption('pid-file', - help: 'Specify a file to write the process id to.' - 'You can send SIGUSR1 to trigger a hot reload ' - 'and SIGUSR2 to trigger a full restart.'); + help: """ + Specify a file to write the process id to. + You can send SIGUSR1 to trigger a hot reload + and SIGUSR2 to trigger a full restart. + """); // Hidden option to enable a benchmarking mode. This will run the given From 4b7db65ac960a0b67955008640c0a46247a1d2ca Mon Sep 17 00:00:00 2001 From: Wyatt Arent Date: Mon, 31 Oct 2016 19:59:57 -0600 Subject: [PATCH 2/2] Fix overtab from multiline --- packages/flutter_tools/lib/src/commands/run.dart | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/flutter_tools/lib/src/commands/run.dart b/packages/flutter_tools/lib/src/commands/run.dart index 17eb62ef5dbe3..83d96c1ec50ba 100644 --- a/packages/flutter_tools/lib/src/commands/run.dart +++ b/packages/flutter_tools/lib/src/commands/run.dart @@ -71,11 +71,9 @@ class RunCommand extends RunCommandBase { // Option to write the pid to a file. argParser.addOption('pid-file', - help: """ - Specify a file to write the process id to. - You can send SIGUSR1 to trigger a hot reload - and SIGUSR2 to trigger a full restart. - """); + help: "Specify a file to write the process id to.\n" + "You can send SIGUSR1 to trigger a hot reload\n" + "and SIGUSR2 to trigger a full restart."); // Hidden option to enable a benchmarking mode. This will run the given