added version number
This commit is contained in:
parent
06ecea9f51
commit
fa990f33f5
@ -6,6 +6,8 @@ from urllib.parse import urlparse, urlunparse, urlencode, quote_plus, unquote_pl
|
|||||||
from urllib.request import urlopen, URLError, HTTPError
|
from urllib.request import urlopen, URLError, HTTPError
|
||||||
from html.entities import name2codepoint
|
from html.entities import name2codepoint
|
||||||
|
|
||||||
|
VERSION = "0.9"
|
||||||
|
|
||||||
groupnamepat = re.compile(r"^g\.(\w+)\$")
|
groupnamepat = re.compile(r"^g\.(\w+)\$")
|
||||||
def splitpadname (padid):
|
def splitpadname (padid):
|
||||||
m = groupnamepat.match(padid)
|
m = groupnamepat.match(padid)
|
||||||
|
|||||||
@ -65,6 +65,8 @@ def main (args):
|
|||||||
|
|
||||||
args = p.parse_args(args)
|
args = p.parse_args(args)
|
||||||
|
|
||||||
|
print ("etherdump version {}".format(VERSION), file=sys.stderr)
|
||||||
|
|
||||||
raw_ext = ".raw.txt"
|
raw_ext = ".raw.txt"
|
||||||
if args.no_raw_ext:
|
if args.no_raw_ext:
|
||||||
raw_ext = ""
|
raw_ext = ""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user