fix args for pcap flag
@@ -234,7 +234,7 @@ function check_files()
# entry point
if [ $# -gt 0 ]; then
- if [[ ( $# -eq 2 && $1 == "start" ) || ( $# -eq 1 ) ]]; then
+ if [[ ( $# -eq 2 && $1 == "start" ) || ( $# -eq 2 && $1 == "pcap" ) || ( $# -eq 2 && $1 == "-p" ) || ( $# -eq 1 ) ]]; then
check_args "$@"
else
show_help
