diff --git a/cmd/step/main.go b/cmd/step/main.go index 291346f..89d1165 100644 --- a/cmd/step/main.go +++ b/cmd/step/main.go @@ -38,9 +38,9 @@ func main () { // load and execute the document var document *step.Document if len(cmd.Args) > 0 { - document, err = environment.Parse(cmd.Args[0]) + document, err = environment.Load(cmd.Args[0]) } else { - document, err = environment.ParseReader(".", os.Stdin) + document, err = environment.Parse(".", os.Stdin) } handleErr(cmd, err) if flagMetadata.Value == "true" {