fish-shell/tests/checks/exit-status-with-closing-stderr.fish

8 lines
147 B
Fish
Raw Normal View History

# RUN: %fish %s
argparse r-require= -- --require 2>/dev/null
echo $status
# CHECK: 2
argparse r-require= -- --require 2>&-
echo $status
# CHECK: 2