Skip to content

Commit e8e6891

Browse files
committed
fishgen: Fix flags crossing subcommands
1 parent f371420 commit e8e6891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

needs-update/custom-completions/auto-generate/parse-fish.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def make-subcommands-completion [parents: list<string>] {
103103
" [\n"
104104
(
105105
$fishes
106-
| if ('n' in ($subcommand | columns)) {
106+
| if ('n' in ($subcommand.args | columns)) {
107107
if ($subcommand.name != "") {
108108
where ($it.n | str contains $subcommand.name) # for subcommand -> any where n matches `__fish_seen_subcommand_from arg` for the subcommand name
109109
} else {

0 commit comments

Comments
 (0)