Find hwmon path based on input path type

If the input path starts with /devices, find the hwmon path
using the findHwmonFromDevPath function, otherwise use
findHwmonFromOFPath.

Also change the argument name to something more generic.

Did not change the argument's short name so the service
file isn't coupled to this change.

Tested: Tested with both paths.

Change-Id: I5feb8a897fc86117b102ce44584ed977282cb955
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/argument.cpp b/argument.cpp
index 170bb8f..3849cae 100644
--- a/argument.cpp
+++ b/argument.cpp
@@ -62,14 +62,14 @@
     std::cerr << "Options:\n";
     std::cerr << "    --help               print this menu\n";
     std::cerr << "    --path=<path>        sysfs location to monitor\n";
-    std::cerr << "    --of-name=<path>     open firmware device name to monitor\n";
+    std::cerr << "    --dev-path=<path>    device path to monitor\n";
     std::cerr << std::flush;
 }
 
 const option ArgumentParser::options[] =
 {
     { "path",   required_argument,  NULL,   'p' },
-    { "of-name", required_argument,  NULL,   'o' },
+    { "dev-path", required_argument,  NULL, 'o' },
     { "help",   no_argument,        NULL,   'h' },
     { 0, 0, 0, 0},
 };