Fix a syntax error in comments
Signed-off-by: Cao Weiwei <cao.weiwei30@zte.com.cn> Upstream-commit: 3fc9a9ccb8ec8783bfcc02b7e4dfd7ee6468fa86 Component: engine
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
// Define flags using flag.String(), Bool(), Int(), etc.
|
||||
//
|
||||
// This declares an integer flag, -f or --flagname, stored in the pointer ip, with type *int.
|
||||
// import "flag /github.com/docker/docker/pkg/mflag"
|
||||
// import flag "github.com/docker/docker/pkg/mflag"
|
||||
// var ip = flag.Int([]string{"f", "-flagname"}, 1234, "help message for flagname")
|
||||
// If you like, you can bind the flag to a variable using the Var() functions.
|
||||
// var flagvar int
|
||||
|
||||
Reference in New Issue
Block a user