fish-shell/tests/checks/function.fish
Aaron Miller 15ed682bfa Fix options after --argument-names to function (#6188)
This stops reading argument names after another option appears. It does not break any previous uses and in fact fixes uses like

```fish
function foo --argument-names bar --description baz
```

* `function` command handles options after argument names (Fixes #6186)

* Removed unneccesary test
2019-10-10 18:09:26 +02:00

5 lines
64 B
Fish

#RUN: %fish %s
function t --argument-names a b c
echo t
end