Skip to content

Commit

Permalink
add yaml option to help
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinsonneau committed Jan 23, 2025
1 parent e05cb88 commit 882108b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion scripts/help.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,13 @@ function collector_usage {
echo " --max-bytes: maximum capture bytes (default: 50000000 = 50MB)"
}

# script options
function script_usage {
echo " --yaml: generate YAML without applying it (default: false)"
}

# agent selector / filters
function filters_usage {

# filters & selector
echo " --action: filter action (default: Accept)"
echo " --cidr: filter CIDR (default: 0.0.0.0/0)"
Expand Down Expand Up @@ -115,6 +119,7 @@ function flows_usage {
echo
echo "options:"
collector_usage
script_usage
}

function packets_usage {
Expand All @@ -129,6 +134,7 @@ function packets_usage {
echo
echo "options:"
collector_usage
script_usage
}

function metrics_usage {
Expand All @@ -144,6 +150,8 @@ function metrics_usage {
echo "filters:"
filters_usage
specific_filters_usage
echo "options:"
script_usage
}

function follow_usage {
Expand Down

0 comments on commit 882108b

Please sign in to comment.