|
@@ -36,7 +36,7 @@ def parse_args(args):
|
|
"--version", action="version", version="rfidacd {ver}".format(ver=__version__),
|
|
"--version", action="version", version="rfidacd {ver}".format(ver=__version__),
|
|
)
|
|
)
|
|
parser.add_argument(
|
|
parser.add_argument(
|
|
- "-d", "--device", help="device to listen", type=argparse.FileType("r")
|
|
|
|
|
|
+ "-d", "--device", default="/dev/input/event0", help="device to listen", type=argparse.FileType("r")
|
|
)
|
|
)
|
|
parser.add_argument(
|
|
parser.add_argument(
|
|
"-p", "--path", default=".", help="path to action scripts", type=dir_path
|
|
"-p", "--path", default=".", help="path to action scripts", type=dir_path
|