Diff
1diff --git a/lib/cli.zsh b/lib/cli.zsh
2index 6bdac6cf1155cb6c6dfb870cbbd7af4b56cf19be..b49643339a39cd4ff3b27a1454e88d0b24195633 100644
3--- a/lib/cli.zsh
4+++ b/lib/cli.zsh
5@@ -150,7 +150,7 @@ function _omz::log {
6 ## User-facing commands
7
8 function _omz::help {
9- cat <<EOF
10+ cat >&2 <<EOF
11 Usage: omz <command> [options]
12
13 Available commands:
14@@ -171,7 +171,7 @@ function _omz::changelog {
15 if ! command git -C "$ZSH" show-ref --verify refs/heads/$version &>/dev/null && \
16 ! command git -C "$ZSH" show-ref --verify refs/tags/$version &>/dev/null && \
17 ! command git -C "$ZSH" rev-parse --verify "${version}^{commit}" &>/dev/null; then
18- cat <<EOF
19+ cat >&2 <<EOF
20 Usage: omz changelog [version]
21
22 NOTE: <version> must be a valid branch, tag or commit.
23@@ -184,7 +184,7 @@ EOF
24
25 function _omz::plugin {
26 (( $# > 0 && $+functions[_omz::plugin::$1] )) || {
27- cat <<EOF
28+ cat >&2 <<EOF
29 Usage: omz plugin <command> [options]
30
31 Available commands:
32@@ -468,7 +468,7 @@ function _omz::plugin::load {
33
34 function _omz::pr {
35 (( $# > 0 && $+functions[_omz::pr::$1] )) || {
36- cat <<EOF
37+ cat >&2 <<EOF
38 Usage: omz pr <command> [options]
39
40 Available commands:
41@@ -600,7 +600,7 @@ function _omz::pr::test {
42
43 function _omz::theme {
44 (( $# > 0 && $+functions[_omz::theme::$1] )) || {
45- cat <<EOF
46+ cat >&2 <<EOF
47 Usage: omz theme <command> [options]
48
49 Available commands: