aboutsummaryrefslogtreecommitdiff
path: root/bin/msg
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-04-12 08:15:20 -0300
committerEuAndreh <eu@euandre.org>2023-04-12 08:15:20 -0300
commitc6188975d2da6c1696c4433f6fce8ae4c9a6ac38 (patch)
tree613545634bc999385d13ecb107d2cce113ba11c4 /bin/msg
parentbin/: Add trailing semicolor to Perl heredocs (diff)
downloaddotfiles-c6188975d2da6c1696c4433f6fce8ae4c9a6ac38.tar.gz
dotfiles-c6188975d2da6c1696c4433f6fce8ae4c9a6ac38.tar.xz
bin/: Make help string more consistent across several executables
Diffstat (limited to 'bin/msg')
-rwxr-xr-xbin/msg6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/msg b/bin/msg
index 84d25a7..6bf875f 100755
--- a/bin/msg
+++ b/bin/msg
@@ -12,6 +12,7 @@ usage() {
help() {
cat <<-'EOF'
+
Options:
-X send MESSAGE using the `xmpp` command
-s play $XDG_DATA_HOME/msg/{good,bad}.ogg sound
@@ -25,12 +26,17 @@ help() {
MESSAGE the text to be sent by the relevant channel
+
+ Send MESSAGE via all the selected channels.
+
+
Examples:
Ring a terminal bell and play a sound, representing an error:
$ msg -1sb
+
Send an email and an XMPP message:
$ msg -mX 'The message goes here'