mirror of
https://github.com/adulau/netbeacon.git
synced 2024-11-23 18:47:10 +00:00
usage clarification
This commit is contained in:
parent
0fad43adfd
commit
1fbe22532e
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ def nbsend(destination=None,payload=None, logging=False):
|
|||
sock.sendto(payload, (destination, 12345))
|
||||
return True
|
||||
|
||||
usage = "usage: %prog [options] <netbeacon messages>"
|
||||
usage = "usage: %prog [options]"
|
||||
parser = OptionParser(usage)
|
||||
parser.add_option("-p","--psk", dest="psk", help="pre-shared key used by the HMAC-SHA1 (default: netbeacon)")
|
||||
parser.add_option("-s","--storeseq", dest="storeseq", action='store_true', help="store sequence and validate sequence")
|
||||
|
|
Loading…
Reference in a new issue