Skip to content
Snippets Groups Projects
Commit faf1c44d authored by Darren's avatar Darren
Browse files

Merge pull request #5 from bcwaldon/fix-listopts

Instantiate ListOpts
parents 2bdca2f9 2d366432
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ func parseContext(args []string) (*Context, error) {
flags := flag.NewFlagSet("systemd-docker", flag.ContinueOnError)
var flCgroups opts.ListOpts
flCgroups := opts.NewListOpts(nil)
flags.StringVar(&c.PidFile, []string{"p", "-pid-file"}, "", "pipe file")
flags.BoolVar(&c.Logs, []string{"l", "-logs"}, true, "pipe logs")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment