accept command line argument

works with >= wireshark-1.12