diff --git a/ufw-docker b/ufw-docker index 7785df5..54ab589 100755 --- a/ufw-docker +++ b/ufw-docker @@ -132,9 +132,24 @@ function ufw-docker--install() { function ufw-docker--help() { cat <<-EOF >&2 Usage: - ufw-docker [docker-instance-id-or-name] [port[/tcp|/udp]] - ufw-docker delete allow [docker-instance-id-or-name] [port[/tcp|/udp]] + ufw-docker [docker-instance-id-or-name [port[/tcp|/udp]]] + ufw-docker delete allow [docker-instance-id-or-name [port[/tcp|/udp]]] ufw-docker + + Examples: + ufw-docker help + ufw-docker install + + ufw-docker status + + ufw-docker list httpd + + ufw-docker allow httpd + ufw-docker allow httpd 80 + ufw-docker allow httpd 443/tcp + + ufw-docker delete allow httpd + ufw-docker delete allow httpd 443/tcp EOF }