Index: benchmark/ctxswitch/goroutine.go
===================================================================
--- benchmark/ctxswitch/goroutine.go	(revision b4107c815918e9d1300f3381d29c2a863abf7de8)
+++ benchmark/ctxswitch/goroutine.go	(revision 96f5b300226de823658074ed4084ad9d67a2c649)
@@ -2,8 +2,9 @@
 
 import (
-    "fmt"
-    "time"
-    "flag"
-    "runtime"
+	"fmt"
+	"time"
+	"os"
+	"strconv"
+	"runtime"
 )
 
@@ -29,6 +30,8 @@
 
 func main() {
-	times := flag.Int( "times", 10000000, "loop iterations" )
-	go ContextSwitch( *times )		// context switch
+	var times int = 10000000
+	if len( os.Args ) > 2 { os.Exit( 1 ) }
+	if len( os.Args ) == 2 { times, _ = strconv.Atoi(os.Args[1]) }
+	go ContextSwitch( times )		// context switch
 	<- shake
 }
