mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-06 21:36:13 +08:00
Change to correct argument to report accurate error message (#853)
* Change to correct argument to report accurate error message * Update pkg/omf/functions/cli/omf.cli.theme.fish Co-authored-by: Pablo Aguiar <scorphus@gmail.com> Co-authored-by: Pablo Aguiar <scorphus@gmail.com>
This commit is contained in:
parent
0b1396ad79
commit
59de68c4ca
|
@ -21,7 +21,7 @@ function omf.cli.theme -a name
|
|||
end
|
||||
case '*'
|
||||
echo (omf::err)"Invalid number of arguments"(omf::off) >&2
|
||||
echo "Usage: $_ "(omf::em)"$argv[1]"(omf::off)" [<theme name>]" >&2
|
||||
echo "Usage: $_ "(omf::em)"t"(omf::off)"heme [<theme name>]" >&2
|
||||
return $OMF_INVALID_ARG
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user