Rename --flake-uri to --flake.

This commit is contained in:
r-vdp 2023-03-24 16:19:18 +01:00
parent ec231161ed
commit 0cc421ead0
No known key found for this signature in database
2 changed files with 5 additions and 5 deletions

View file

@ -22,21 +22,21 @@ struct Args {
target_host: Option<String>,
#[arg(long, action)]
/// Whether to invoke the remove command with sudo.
/// Only useful in combination with
/// Invoke the remote command with sudo.
/// Only useful in combination with --target-host
use_remote_sudo: bool,
}
#[derive(clap::Args, Debug)]
struct BuildArgs {
#[arg(long)]
#[arg(long = "flake", name = "FLAKE_URI")]
/// The flake defining the system-manager profile
flake_uri: String,
}
#[derive(clap::Args, Debug)]
struct GenerateArgs {
#[arg(long)]
#[arg(long = "flake", name = "FLAKE_URI")]
/// The flake defining the system-manager profile
flake_uri: Option<String>,