JO
-
2011-07-04
- labels: --> EasyStoch
Invoking ''easystoch -h'' will fail if easystoch is in the current path and is not invoked in the installation directory. This is because argv[0] in the code with not contain the full path of the program, so easystoch cannot find the source file and grep the help page. This can be remedied by using an alias instead of adding the installation directory to the PATH variable. Even better, avoid using argv[0] altogether and integrate help page into code.