From e745975b6fafc4830601339f5b9f7b0a7323c627 Mon Sep 17 00:00:00 2001 From: CoderJoshDK <74162303+CoderJoshDK@users.noreply.github.com> Date: Sun, 29 Dec 2024 15:02:30 -0500 Subject: [PATCH] docs: add expected output behavior of -- plan --- docs/pages/docs/cli.md | 1 + src/main.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/pages/docs/cli.md b/docs/pages/docs/cli.md index d590b0eda..3abec0b6e 100644 --- a/docs/pages/docs/cli.md +++ b/docs/pages/docs/cli.md @@ -68,6 +68,7 @@ nixpacks plan examples/node ``` By default, the plan is output in JSON format. You can output in TOML format with the `--format toml` option. +The generated plan will be outputted to stdout, while some providers expose recoverable errors to stderr. View all plan options with diff --git a/src/main.rs b/src/main.rs index 923d0e1bb..b66dc2750 100644 --- a/src/main.rs +++ b/src/main.rs @@ -77,7 +77,7 @@ struct Args { #[derive(Subcommand)] enum Commands { /// Generate a build plan for an app. - /// Generated plan will be outputted to stdin, while warnings might be outputted to stderr. + /// Generated plan will be outputted to stdout, while warnings might be outputted to stderr. Plan { /// App source path: String,