This commit is contained in:
figsoda 2023-01-01 20:55:52 -05:00
parent 5a8e5bb5a4
commit deb4ae4858
2 changed files with 2 additions and 3 deletions

View File

@ -47,8 +47,7 @@ Options:
-i, --indent <INDENT> extra indentation (in number of spaces) [default: 0]
-j, --json output in json format
-a, --arg <NAME> <EXPR> additional arguments to pass to the fetcher
-A, --arg-str <NAME> <STRING> same as --overwrite, but accepts strings instead Nix
expressions
-A, --arg-str <NAME> <STRING> same as --arg, but accepts strings instead Nix expressions
-o, --overwrite <NAME> <EXPR> overwrite arguments in the final output, not taken into
consideration when fetching the hash
-O, --overwrite-str <NAME> <STRING> same as --overwrite, but accepts strings instead Nix

View File

@ -38,7 +38,7 @@ pub struct Opts {
#[arg(short, long = "arg", num_args = 2, value_names = ["NAME", "EXPR"])]
pub args: Vec<String>,
/// same as --overwrite, but accepts strings instead Nix expressions
/// same as --arg, but accepts strings instead Nix expressions
#[arg(short = 'A', long = "arg-str", num_args = 2, value_names = ["NAME", "STRING"])]
pub args_str: Vec<String>,