Sfoglia il codice sorgente

Fix a bit of inconsistent whitespace usage in the help text. (#222)

Alexey Alexandrov 7 anni fa
parent
commit
f9dbc74805
1 ha cambiato i file con 7 aggiunte e 7 eliminazioni
  1. 7
    7
      internal/driver/commands.go

+ 7
- 7
internal/driver/commands.go Vedi File

@@ -139,10 +139,10 @@ var pprofVariables = variables{
139 139
 	// Comparisons.
140 140
 	"positive_percentages": &variable{boolKind, "f", "", helpText(
141 141
 		"Ignore negative samples when computing percentages",
142
-		" Do not count negative samples when computing the total value",
143
-		" of the profile, used to compute percentages. If set, and the -base",
144
-		" option is used, percentages reported will be computed against the",
145
-		" main profile, ignoring the base profile.")},
142
+		"Do not count negative samples when computing the total value",
143
+		"of the profile, used to compute percentages. If set, and the -base",
144
+		"option is used, percentages reported will be computed against the",
145
+		"main profile, ignoring the base profile.")},
146 146
 
147 147
 	// Graph handling options.
148 148
 	"call_tree": &variable{boolKind, "f", "", helpText(
@@ -157,9 +157,9 @@ var pprofVariables = variables{
157 157
 	"unit": &variable{stringKind, "minimum", "", helpText(
158 158
 		"Measurement units to display",
159 159
 		"Scale the sample values to this unit.",
160
-		" For time-based profiles, use seconds, milliseconds, nanoseconds, etc.",
161
-		" For memory profiles, use megabytes, kilobytes, bytes, etc.",
162
-		" auto will scale each value independently to the most natural unit.")},
160
+		"For time-based profiles, use seconds, milliseconds, nanoseconds, etc.",
161
+		"For memory profiles, use megabytes, kilobytes, bytes, etc.",
162
+		"Using auto will scale each value independently to the most natural unit.")},
163 163
 	"compact_labels": &variable{boolKind, "f", "", "Show minimal headers"},
164 164
 	"source_path":    &variable{stringKind, "", "", "Search path for source files"},
165 165