You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
843 B

From aa2b06cff01b52666e44aae59ee56fc9092cad93 Mon Sep 17 00:00:00 2001
From: Alec Leamas <leamas.alec@gmail.com>
Date: Sun, 3 Sep 2017 04:21:57 +0200
Subject: [PATCH 5/6] mode2: Fix inconsistent loglevel/debug option (#307).
---
tools/mode2.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/mode2.cpp b/tools/mode2.cpp
index fe578f89..e962610d 100644
--- a/tools/mode2.cpp
+++ b/tools/mode2.cpp
@@ -74,7 +74,7 @@ static const char* const help =
static const struct option options[] = {
{"help", no_argument, NULL, 'h'},
- {"debug", required_argument, NULL, 'D'},
+ {"loglevel", required_argument, NULL, 'D'},
{"version", no_argument, NULL, 'v'},
{"device", required_argument, NULL, 'd'},
{"driver", required_argument, NULL, 'H'},
--
2.20.1