diff --git a/README.md b/README.md index 13ed7a9..8d8ec09 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ docker run --rm -v $(pwd):/pwd ghcr.io/reteps/dockerfmt:latest /pwd/tests/in/run ## Usage ```output -A updated version of the dockfmt. Uses the dockerfile parser from moby/buildkit and the shell formatter from mvdan/sh. +A updated version of the dockfmt. Uses the dockerfile parser from moby/buildkit and the shell formatter from mvdan/sh. If no Dockerfile arguments specified will process input from the stdin. Usage: dockerfmt [Dockerfile...] [flags] diff --git a/cmd/root.go b/cmd/root.go index d38b367..9c19fa7 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -22,7 +22,7 @@ var ( var rootCmd = &cobra.Command{ Use: "dockerfmt [Dockerfile...]", Short: "dockerfmt is a Dockerfile and RUN step formatter.", - Long: `A updated version of the dockfmt. Uses the dockerfile parser from moby/buildkit and the shell formatter from mvdan/sh.`, + Long: `A updated version of the dockfmt. Uses the dockerfile parser from moby/buildkit and the shell formatter from mvdan/sh. If no Dockerfile arguments specified will process input from the stdin.`, Run: Run, Args: cobra.ArbitraryArgs, }