diff --git a/cmd_rm.go b/cmd_rm.go index f2bdcbc..5db158e 100644 --- a/cmd_rm.go +++ b/cmd_rm.go @@ -12,6 +12,7 @@ func doRm(c *cli.Context) error { name = c.Args().First() dry = c.Bool("dry-run") w = c.App.Writer + bare = c.Bool("bare") ) if name == "" { @@ -23,7 +24,7 @@ func doRm(c *cli.Context) error { return err } - localRepo, err := LocalRepositoryFromURL(u) + localRepo, err := LocalRepositoryFromURL(u, bare) if err != nil { return err }