command: Change wording for consistency

This commit is contained in:
Zhaofeng Li 2022-01-03 10:37:03 -08:00
parent 3ea320b355
commit 79d1010356
2 changed files with 4 additions and 4 deletions

View file

@ -7,8 +7,8 @@ pub use super::apply::run;
pub fn subcommand() -> App<'static> { pub fn subcommand() -> App<'static> {
let command = App::new("build") let command = App::new("build")
.about("Build the configuration but not push to remote machines") .about("Build configurations but not push to remote machines")
.long_about(r#"Build the configuration 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."#) This subcommand behaves as if you invoked `apply` with the `build` goal."#)
.arg(Arg::new("goal") .arg(Arg::new("goal")

View file

@ -7,8 +7,8 @@ use crate::nix::NixError;
pub fn subcommand() -> App<'static> { pub fn subcommand() -> App<'static> {
App::new("eval") App::new("eval")
.about("Evaluate expressions using the complete configuration") .about("Evaluate an expression using the complete configuration")
.long_about(r#"Evaluate expressions 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. Your expression should take an attribute set with keys `pkgs`, `lib` and `nodes` (like a NixOS module) and return a JSON-serializable value.