mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-28 04:03:39 +08:00
69b464bc37
It's now good enough to do so. We don't allow grid-alignment: ```fish complete -c foo -s b -l barnanana -a '(something)' complete -c foo -s z -a '(something)' ``` becomes ```fish complete -c foo -s b -l barnanana -a '(something)' complete -c foo -s z -a '(something)' ``` It's just more trouble than it is worth. The one part I'd change: We align and/or'd parts of an if-condition with the in-block code: ```fish if true and false dosomething end ``` becomes ```fish if true and false dosomething end ``` but it's not used terribly much and if we ever fix it we can just reindent.
8 lines
147 B
Fish
8 lines
147 B
Fish
# RUN: %fish %s
|
|
argparse r-require= -- --require 2>/dev/null
|
|
echo $status
|
|
# CHECK: 2
|
|
argparse r-require= -- --require 2>&-
|
|
echo $status
|
|
# CHECK: 2
|