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

6 lines
151 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