update go import path and libcontainer
Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com> (github: vieux)
This commit is contained in:
parent
5b5f71a7e6
commit
bb2a94eeef
5 changed files with 5 additions and 5 deletions
|
@ -10,7 +10,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/dotcloud/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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue