summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Sharma <harsh.sharma@multitech.com>2022-03-16 13:08:30 -0500
committerHarsh Sharma <harsh.sharma@multitech.com>2022-03-16 13:08:30 -0500
commita54971cfb51e2254ea7d68238243df430a699044 (patch)
tree5f2a55e50ef92142123166ff57a54ea198ba2b7a
parent807db81bdd99812bbdbbf05aefd42901628d4cf3 (diff)
downloadmts-io-sysfs-a54971cfb51e2254ea7d68238243df430a699044.tar.gz
mts-io-sysfs-a54971cfb51e2254ea7d68238243df430a699044.tar.bz2
mts-io-sysfs-a54971cfb51e2254ea7d68238243df430a699044.zip
Getopt bug fix
-rw-r--r--src/MtsIoSysfs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MtsIoSysfs.cpp b/src/MtsIoSysfs.cpp
index 8bde1fb..cea2537 100644
--- a/src/MtsIoSysfs.cpp
+++ b/src/MtsIoSysfs.cpp
@@ -67,7 +67,7 @@ int main(int argc, char **argv) {
{"show", required_argument, nullptr, 's'},
{"show-trigger", required_argument, nullptr, 'S'},
{"store", required_argument, nullptr, 't'},
- {"show-trigger", required_argument, nullptr, 'T'},
+ {"store-trigger", required_argument, nullptr, 'T'},
{"version", no_argument, nullptr, 'v'},
{"verbose", no_argument, nullptr, 'V'},
{nullptr, no_argument, nullptr, 0}};