aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-05-18 03:47:52 -0300
committerEuAndreh <eu@euandre.org>2022-05-18 03:47:52 -0300
commite209690c83300c915e13d9fdfe8a32d6e5b1c9f0 (patch)
tree6db420ed2653142cb6e84fab3adab2ba40393daf
parentbin/msg: Use a single MESSAGE for all actions that take an argument (diff)
downloaddotfiles-e209690c83300c915e13d9fdfe8a32d6e5b1c9f0.tar.gz
dotfiles-e209690c83300c915e13d9fdfe8a32d6e5b1c9f0.tar.xz
bin/msg: Add example to help message
-rwxr-xr-xbin/msg12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/msg b/bin/msg
index 137c62c..d8ae7fd 100755
--- a/bin/msg
+++ b/bin/msg
@@ -20,6 +20,18 @@ help() {
-D send desktop MESSAGE via `notify-send`
-b print terminal bell
-h, --help show this message
+
+ MESSAGE the text to be sent by the relevant channel
+
+ Examples:
+
+ Ring a terminal bell and play a sound:
+
+ $ msg -sb
+
+ Send an email and an XMPP message:
+
+ $ msg -mX 'The message goes here'
EOF
}