From 79a145bf83ac8d31c2ba06ba86fd71cff8d37f6a Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 26 Oct 2015 20:06:10 -0700 Subject: [PATCH] Correct "remote-" commands Signed-off-by: Tom Eastep --- Shorewall-core/lib.cli | 7 +++++++ Shorewall/lib.cli-std | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Shorewall-core/lib.cli b/Shorewall-core/lib.cli index 62685ab39..c3cb7c287 100644 --- a/Shorewall-core/lib.cli +++ b/Shorewall-core/lib.cli @@ -3879,6 +3879,13 @@ usage() # $1 = exit status ecko " refresh [ -d ] [ -n ] [ -T ] [ -D ] [ ... ]" echo " reject
..." ecko " reload [ -s ] [ -c ] [ -r ] [ -T ] [ -i ] [ ] " + + if [ -z "$g_lite" ]; then + echo " remote-reload [ -s ] [ -c ] [ -r ] [ -T ] [ -i ] [ ] " + echo " remote-restart [ -s ] [ -c ] [ -r ] [ -T ] [ -i ] [ ] " + echo " remote-start [ -s ] [ -c ] [ -r ] [ -T ] [ -i ] [ ] " + fi + echo " reset [ ... ]" if [ -n "$g_lite" ]; then diff --git a/Shorewall/lib.cli-std b/Shorewall/lib.cli-std index cfc0a7d0e..ba46c81cf 100644 --- a/Shorewall/lib.cli-std +++ b/Shorewall/lib.cli-std @@ -1645,7 +1645,7 @@ compiler_command() { shift update_command $@ ;; - remote-start|remote-reload-reload|remote-restart) + remote-start|remote-reload|remote-restart) shift remote_reload_command $@ ;;