summaryrefslogtreecommitdiff
path: root/doc/progs/echo.go
diff options
context:
space:
mode:
Diffstat (limited to 'doc/progs/echo.go')
-rw-r--r--doc/progs/echo.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/progs/echo.go b/doc/progs/echo.go
index 84470ddb9..3260edd74 100644
--- a/doc/progs/echo.go
+++ b/doc/progs/echo.go
@@ -6,18 +6,18 @@ package main
import (
"os"
- "flag" // command line option parser
+ "flag" // command line option parser
)
var omitNewline = flag.Bool("n", false, "don't print final newline")
const (
- Space = " "
+ Space = " "
Newline = "\n"
)
func main() {
- flag.Parse() // Scans the arg list and sets up flags
+ flag.Parse() // Scans the arg list and sets up flags
var s string = ""
for i := 0; i < flag.NArg(); i++ {
if i > 0 {