mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-25 04:01:45 +02:00
Add new options to online usage info.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
88447bfc7d
commit
5671a7ae2f
@ -5,7 +5,16 @@
|
|||||||
# Give Usage Information
|
# Give Usage Information
|
||||||
#
|
#
|
||||||
usage() {
|
usage() {
|
||||||
echo "Usage: $0 [ -q ] [ -v ] [ -n ] [ start|stop|clear|reset|refresh|restart|status|version ]"
|
echo "Usage: $0 [ options ] [ start|stop|clear|reset|refresh|restart|status|version ]"
|
||||||
|
echo
|
||||||
|
echo "Options are:"
|
||||||
|
echo
|
||||||
|
echo " -v and -q Standard Shorewall verbosity controls"
|
||||||
|
echo " -n Don't unpdate routing configuration"
|
||||||
|
echo " -p Purge Conntrack Table"
|
||||||
|
echo " -t Timestamp progress Messages"
|
||||||
|
echo " -V <verbosity> Set verbosity explicitly"
|
||||||
|
echo " -R <file> Override RESTOREFILE setting"
|
||||||
exit $1
|
exit $1
|
||||||
}
|
}
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -5,7 +5,16 @@
|
|||||||
# Give Usage Information
|
# Give Usage Information
|
||||||
#
|
#
|
||||||
usage() {
|
usage() {
|
||||||
echo "Usage: $0 [ -q ] [ -v ] [ -n ] [ start|stop|clear|reset|refresh|restart|status|version ]"
|
echo "Usage: $0 [ options ] [ start|stop|clear|reset|refresh|restart|status|version ]"
|
||||||
|
echo
|
||||||
|
echo "Options are:"
|
||||||
|
echo
|
||||||
|
echo " -v and -q Standard Shorewall verbosity controls"
|
||||||
|
echo " -n Don't unpdate routing configuration"
|
||||||
|
echo " -p Purge Conntrack Table"
|
||||||
|
echo " -t Timestamp progress Messages"
|
||||||
|
echo " -V <verbosity> Set verbosity explicitly"
|
||||||
|
echo " -R <file> Override RESTOREFILE setting"
|
||||||
exit $1
|
exit $1
|
||||||
}
|
}
|
||||||
################################################################################
|
################################################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user