mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
87a532f533
Fixes #3307
13 lines
411 B
Fish
13 lines
411 B
Fish
# Verify that specifying unexpected options or arguments results in an error.
|
|
# First with the history function.
|
|
history --clear --contains
|
|
history --merge -t
|
|
history --save xyz
|
|
# Now with the history builtin.
|
|
builtin history --save --prefix
|
|
builtin history --clear --with-time
|
|
builtin history --merge xyz
|
|
builtin history --clear abc def
|
|
|
|
# Now do a history command that should succeed.
|
|
builtin history --merge
|