From 30a55f7f390783aa2a3c731fbda30b24a77db0d6 Mon Sep 17 00:00:00 2001 From: Farlido Tekitsu Date: Thu, 7 Feb 2019 14:42:25 +0100 Subject: [PATCH] Update hosts.plugin.bash --- plugins/available/hosts.plugin.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/available/hosts.plugin.bash b/plugins/available/hosts.plugin.bash index 25a29543..bd7424fe 100644 --- a/plugins/available/hosts.plugin.bash +++ b/plugins/available/hosts.plugin.bash @@ -1,5 +1,8 @@ # Requested by philipjohn here : https://github.com/Bash-it/bash-it/issues/1264 +cite about-plugin +about-plugin 'add or remove hosts records' + function hosts() { if [ ! "$(whoami)" = "root" ]; then echo "Error: Run this function as root (using sudo)" && exit 1; fi if [ "$1" = "add" ]; then