diff --git a/src/command/build.rs b/src/command/build.rs index c97ca71..11a8dd8 100644 --- a/src/command/build.rs +++ b/src/command/build.rs @@ -7,8 +7,8 @@ pub use super::apply::run; pub fn subcommand() -> App<'static> { let command = App::new("build") - .about("Build the configuration but not push to remote machines") - .long_about(r#"Build the configuration but not push to remote machines + .about("Build configurations but not push to remote machines") + .long_about(r#"Build configurations but not push to remote machines This subcommand behaves as if you invoked `apply` with the `build` goal."#) .arg(Arg::new("goal") diff --git a/src/command/eval.rs b/src/command/eval.rs index 859d7dc..6c8125b 100644 --- a/src/command/eval.rs +++ b/src/command/eval.rs @@ -7,8 +7,8 @@ use crate::nix::NixError; pub fn subcommand() -> App<'static> { App::new("eval") - .about("Evaluate expressions using the complete configuration") - .long_about(r#"Evaluate expressions using the complete configuration + .about("Evaluate an expression using the complete configuration") + .long_about(r#"Evaluate an expression using the complete configuration Your expression should take an attribute set with keys `pkgs`, `lib` and `nodes` (like a NixOS module) and return a JSON-serializable value.