mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-25 12:21:14 -03:00
This effectively disables "--help", replacing it with just a stand-in string. The upshot is that it makes the test suite immune to whether or not it can find the documentation - until now it needed to *not* find it, which is weird. (also it saves some useless lines) Fixes #11270
20 lines
269 B
Fish
20 lines
269 B
Fish
#RUN: %fish %s
|
|
|
|
not true
|
|
echo $status
|
|
# CHECK: 1
|
|
|
|
# Two "not" prefixes on a single job cancel each other out.
|
|
not not sh -c 'exit 34'
|
|
echo $status
|
|
# CHECK: 34
|
|
|
|
! -h
|
|
# CHECKERR: Documentation for !
|
|
|
|
function !
|
|
echo overridden! $argv
|
|
end
|
|
! -h
|
|
# CHECK: overridden! -h
|