From 8baaa38d558f8388d6566eb02148cbf2a86b4796 Mon Sep 17 00:00:00 2001 From: Chris Toph Date: Thu, 29 May 2025 19:07:20 -0400 Subject: [PATCH] Fix help message and command options for experimental features in __yay_rebuild function --- functions/__yay_rebuild.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/__yay_rebuild.fish b/functions/__yay_rebuild.fish index b6d30f3..811d3a9 100644 --- a/functions/__yay_rebuild.fish +++ b/functions/__yay_rebuild.fish @@ -4,7 +4,7 @@ function __yay_rebuild if set -q _flag_help echo "Usage: yay rebuild [OPTIONS]" echo " -h, --help Show this help message" - echo " -e, --experimental Enable experimental features (flakes and nix-commands)" + echo " -e, --experimental Enable experimental features (flakes and nix-command)" echo " -H, --host HOST Hostname to build for (default: current hostname)" echo " -p, --path PATH Path to the Nix configuration (overrides FLAKE)" echo " -t, --trace Enable trace output" @@ -31,7 +31,7 @@ function __yay_rebuild # Add experimental features if requested if set -q _flag_experimental - set cmd "$cmd --extra-experimental-features flakes --extra-experimental-features nix-commands" + set cmd "$cmd --extra-experimental-features flakes --extra-experimental-features nix-command" end # Run the command