Fix typo in code documentation

Changes:
   - Correct the spelling errors.

Tested:
   - NA
Change-Id: Ib34d680af543e241060a8b1c3ba62c052d28dc54
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/ffdc/docs/plugin.md b/ffdc/docs/plugin.md
index 35f283b..f70fd91 100644
--- a/ffdc/docs/plugin.md
+++ b/ffdc/docs/plugin.md
@@ -158,7 +158,7 @@
         [PLUGIN-END]
 ```
 
-### Plugin FILES Direcive
+### Plugin FILES Directive
 
 Rules:
 
@@ -178,7 +178,7 @@
         - None
 ```
 
-### Plugin ERROR Direcive
+### Plugin ERROR Directive
 
 Error directive on plugin supported
 
diff --git a/lib/opt.tcl b/lib/opt.tcl
index e33bacd..ce3c57c 100755
--- a/lib/opt.tcl
+++ b/lib/opt.tcl
@@ -135,7 +135,7 @@
 
   # Note:  This procedure assumes that global list longoptions has been initialized via a call to the
   # longoptions procedure and that global pos_parms has been initialized via a call to the pos_parms
-  # procdure.  These data structures indicates what options and arguments are supported by the calling
+  # procedure.  These data structures indicates what options and arguments are supported by the calling
   # program.
 
   # Note: If the last var_name in pos_parms ends in "_list", then the caller can specify as many parms as