mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 03:01:15 -03:00
completions/iwctl: fix spurious error output
Regressed in 4.1 in c94eddaf4b (Replaced all uses of argparse -i
with argparse -u, 2025-08-30).
Closes #11983
This commit is contained in:
@@ -8,7 +8,7 @@ function __iwctl_filter -w iwctl
|
||||
# awk does not work on multiline entries, therefore we use string match,
|
||||
# which has the added benefit of filtering out the `No devices in ...` lines
|
||||
|
||||
argparse -u all-columns -- $argv
|
||||
argparse -u 'all-columns&' -- $argv
|
||||
|
||||
# remove color escape sequences
|
||||
set -l results (iwctl $argv_opts -- $argv | string replace -ra '\e\[[\d;]+m' '')
|
||||
|
||||
Reference in New Issue
Block a user