From: Nicolas Boisselier Date: Tue, 17 Mar 2015 23:28:39 +0000 (+0000) Subject: alerts X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=4c024ba493904b07dc2303aabec2bf8ef166aa86;p=nb.git alerts --- diff --git a/etc/bashrc.function b/etc/bashrc.function index e2d13ea0..7ccfa4ae 100644 --- a/etc/bashrc.function +++ b/etc/bashrc.function @@ -259,6 +259,10 @@ nb-alert() { host=pi.brighton.loc cmd="$cmd && play 2>/dev/null -v 5 /home/pi/python_games/beep1.ogg" ;; + -h|-help|--help) + echo "Usage: $FUNCNAME [led|say|beep|-h] OR TEXT" + return + ;; *) host=macbook.brighton.loc shift