diff options
author | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2016-11-30 15:52:15 +0530 |
---|---|---|
committer | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2016-12-19 12:20:45 +0530 |
commit | 61675c3265166cecb0f8f5c2c4f80a78d3412c25 (patch) | |
tree | b6d77694e29e97db5e6726829c1c8eb6f1fbaee5 /argument.cpp | |
parent | 75b5510f573390e0725fd424b1799f1fdb3baa1a (diff) | |
download | phosphor-led-sysfs-61675c3265166cecb0f8f5c2c4f80a78d3412c25.tar.gz phosphor-led-sysfs-61675c3265166cecb0f8f5c2c4f80a78d3412c25.zip |
Add methods to trigger action on LED
Implements the ON, OFF and BLINK operations on a given LED.
Change-Id: I74b5ac01d8e76961999a2673d52d73296f5603d7
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'argument.cpp')
-rw-r--r-- | argument.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/argument.cpp b/argument.cpp index 7b70fe0..b70a0dd 100644 --- a/argument.cpp +++ b/argument.cpp @@ -73,7 +73,8 @@ void ArgumentParser::usage(char** argv) std::cerr << "Usage: " << argv[0] << " [options]" << std::endl; std::cerr << "Options:" << std::endl; std::cerr << " --help Print this menu" << std::endl; - std::cerr << " --path=<path> sysfs path like /sys/class/leds" + std::cerr << " --path=<path> absolute path of LED in sysfs; like"; + std::cerr << " /sys/class/leds/<name>" << std::endl; } } // namespace led |