From cafca068f976db3eb880bddcf8bbec05dfa05a22 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Tue, 29 Apr 2025 14:30:05 -0400 Subject: [PATCH] AutoYADM commit: 2025-04-29 14:30:05 --- .config/fish/functions/update.fish | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.config/fish/functions/update.fish b/.config/fish/functions/update.fish index 317cd407..7669f5a3 100644 --- a/.config/fish/functions/update.fish +++ b/.config/fish/functions/update.fish @@ -1,7 +1,17 @@ function update --description "Update everything" # autoconfirm # or force no multiterm - argparse y/no-confirm o/one-term -- $argv + argparse h/help y/no-confirm o/one-term -- $argv + if set -ql _flag_h + printf '%s\n' \ + 'update -- update everything' \ + 'Usage: run `update` to begin' \ + 'Options:' \ + '-y/--no-confirm: Skip update confirmations' \ + '-o/--one-term: Force single terminal mode' \ + '-h/--help: Print this screen' + return 0 + end # TODO: add configuration options and publish? set -g termcmd foot fish -c set -l std 'cargo install-update -a