Minor help text consistency fixes.

Bug: chromium:845481
Change-Id: Iceab80dbff4c30d2819772d6ceab3bc0c31cab8f
Reviewed-on: https://gn-review.googlesource.com/2702
Reviewed-by: Brett Wilson <brettw@chromium.org>
Commit-Queue: Brett Wilson <brettw@chromium.org>
diff --git a/docs/reference.md b/docs/reference.md
index f2b84f9..cb9632b 100644
--- a/docs/reference.md
+++ b/docs/reference.md
@@ -2513,7 +2513,7 @@
     configs = [ "//tools/mything:settings" ]
   }
 
-  static_library("mylib")
+  static_library("mylib") {
     # The configs will be auto-populated as above. You can remove it if
     # you don't want the default for a particular default:
     configs -= [ "//tools/mything:settings" ]
@@ -3768,7 +3768,6 @@
   action("myscript") {
     # Pass the output dir to the script.
     args = [ "-o", rebase_path(target_out_dir, root_build_dir) ]"
-
   }
 ```
 ## <a name="target_variables"></a>Variables you set in targets
diff --git a/tools/gn/function_set_defaults.cc b/tools/gn/function_set_defaults.cc
index a2a14af..8fbc490 100644
--- a/tools/gn/function_set_defaults.cc
+++ b/tools/gn/function_set_defaults.cc
@@ -38,7 +38,7 @@
     configs = [ "//tools/mything:settings" ]
   }
 
-  static_library("mylib")
+  static_library("mylib") {
     # The configs will be auto-populated as above. You can remove it if
     # you don't want the default for a particular default:
     configs -= [ "//tools/mything:settings" ]
diff --git a/tools/gn/variables.cc b/tools/gn/variables.cc
index 67975ce..a405d9d 100644
--- a/tools/gn/variables.cc
+++ b/tools/gn/variables.cc
@@ -377,7 +377,6 @@
   action("myscript") {
     # Pass the output dir to the script.
     args = [ "-o", rebase_path(target_out_dir, root_build_dir) ]"
-
   }
 )";