Skip to content
Snippets Groups Projects
Commit 199096e16cdb authored by Florent Aide's avatar Florent Aide
Browse files

build: fix typo

parent 2144363a9bba
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
Keep bool `short:"k" long:"keep" descriptions:"Keep the temporary files"`
Output string `short:"o" long:"output" descriptions:"output directory"`
}
PositionnalArgs struct {
PositionalArgs struct {
DirName string `required:"yes" positional-arg-name:"directory"`
} `positional-args:"yes"`
log zerolog.Logger `no-flag:"t"`
......@@ -30,5 +30,5 @@
// Execute ...
func (cmd *BuildCmd) Execute([]string) error {
cmd.log.Debug().Str("directory", cmd.PositionnalArgs.DirName).Msg("starting beaver")
cmd.log.Debug().Str("directory", cmd.PositionalArgs.DirName).Msg("starting beaver")
......@@ -34,5 +34,5 @@
config := runner.NewCmdConfig(cmd.log, ".", cmd.PositionnalArgs.DirName, cmd.Args.DryRun, cmd.Args.Output)
config := runner.NewCmdConfig(cmd.log, ".", cmd.PositionalArgs.DirName, cmd.Args.DryRun, cmd.Args.Output)
path, err := os.Getwd()
if err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment