Skip to content

Commit

Permalink
s/FH_JSON_OUTPUT/FH_OUTPUT_JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Jul 29, 2024
1 parent b614e0d commit 53cb077
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/cmd/resolve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub(crate) struct ResolveSubcommand {
flake_ref: String,

/// Output the result as JSON displaying the store path plus the original attribute path.
#[arg(long, env = "FH_JSON_OUTPUT")]
#[arg(long, env = "FH_OUTPUT_JSON")]
json: bool,

#[clap(from_global)]
Expand Down
2 changes: 1 addition & 1 deletion src/cli/cmd/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub(crate) struct SearchSubcommand {
max_results: usize,

/// Output results as JSON.
#[clap(long, env = "FH_JSON_OUTPUT")]
#[clap(long, env = "FH_OUTPUT_JSON")]
json: bool,

#[clap(from_global)]
Expand Down

0 comments on commit 53cb077

Please sign in to comment.