File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ _zabbix_agentd()
1111 COMPREPLY=()
1212 _get_comp_words_by_ref -n = cur prev
1313 unique_opts="-h|--help|-V|--version"
14- nonunique_opts="-c|-p|-R|-t|-- config|--print|--runtime-control|--test"
14+ nonunique_opts="-c|-p|-R|-t|-f|-- config|--print|--runtime-control|--test|--foreground "
1515 unique_opts_space=${unique_opts//|/ }
1616 nonunique_opts_space=${nonunique_opts//|/ }
1717 runtime_options="log_level_increase log_level_decrease"
@@ -20,7 +20,7 @@ _zabbix_agentd()
2020 for (( i=1; i<=${#COMP_WORDS[@]-1}; ++i )) ; do
2121 opt=${COMP_WORDS[$i]}
2222
23- [[ $opt =~ --*[pthvVcRr ].* ]] && {
23+ [[ $opt =~ --*[pthvVcRrf ].* ]] && {
2424 option=$opt
2525 } || {
2626 continue
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ _zabbix_proxy()
1111 COMPREPLY=()
1212 _get_comp_words_by_ref -n = cur prev
1313 unique_opts="-h|--help|-V|--version"
14- nonunique_opts="-c|-R|-- config|--runtime-control"
14+ nonunique_opts="-c|-R|-f|-- config|--runtime-control|--foreground "
1515 unique_opts_space=${unique_opts//|/ }
1616 nonunique_opts_space=${nonunique_opts//|/ }
1717 runtime_simple_options="config_cache_reload housekeeper_execute"
@@ -22,7 +22,7 @@ _zabbix_proxy()
2222 for (( i=1; i<=${#COMP_WORDS[@]-1}; ++i )) ; do
2323 opt=${COMP_WORDS[$i]}
2424
25- [[ $opt =~ --*[hvVcRr ].* ]] && {
25+ [[ $opt =~ --*[hvVcRrf ].* ]] && {
2626 option=$opt
2727 } || {
2828 continue
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ _zabbix_server()
1212 _get_comp_words_by_ref -n = cur prev
1313
1414 unique_opts="-h|--help|-V|--version"
15- nonunique_opts="-c|-R|-- config|--runtime-control"
15+ nonunique_opts="-c|-R|-f|-- config|--runtime-control|--foreground "
1616 unique_opts_space=${unique_opts//|/ }
1717 nonunique_opts_space=${nonunique_opts//|/ }
1818 runtime_simple_options="config_cache_reload housekeeper_execute"
@@ -28,7 +28,7 @@ _zabbix_server()
2828 unset config_supplied
2929 continue
3030 }
31- [[ $opt =~ --*[hvVcRr ].* ]] && {
31+ [[ $opt =~ --*[hvVcRrf ].* ]] && {
3232 option=$opt
3333 } || {
3434 continue
You can’t perform that action at this time.
0 commit comments