about summary refs log tree commit diff stats
path: root/src/tools
diff options
context:
space:
mode:
authorChristian Storm <Christian.Storm@tngtech.com>2015-02-17 10:52:37 +0100
committerChristian Storm <Christian.Storm@tngtech.com>2015-02-17 10:52:37 +0100
commita1d14c4526a8d47adeef254cf0ae9142ae2b13b3 (patch)
treec40cdb55279bb76c63321fc566ef89fe0073bd60 /src/tools
parent0997bafeb99541fff67765506392209ef2ce1ef1 (diff)
downloadprofani-tty-a1d14c4526a8d47adeef254cf0ae9142ae2b13b3.tar.gz
Fixed spelling.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/parser.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tools/parser.c b/src/tools/parser.c
index 98fc21d4..1f8a5220 100644
--- a/src/tools/parser.c
+++ b/src/tools/parser.c
@@ -47,9 +47,9 @@
  *
  * inp - The line of input
  * min - The minimum allowed number of arguments
- * max - The maxmimum allowed number of arguments
+ * max - The maximum allowed number of arguments
  *
- * Returns - An NULL terminated array of strings representing the aguments
+ * Returns - An NULL terminated array of strings representing the arguments
  * of the command, or NULL if the validation fails.
  *
  * E.g. the following input line:
@@ -69,7 +69,7 @@ parse_args(const char * const inp, int min, int max, gboolean *result)
         return NULL;
     }
 
-    // copy and strip input of leading/trailing whitepsace
+    // copy and strip input of leading/trailing whitespace
     char *copy = strdup(inp);
     g_strstrip(copy);
 
@@ -181,9 +181,9 @@ parse_args(const char * const inp, int min, int max, gboolean *result)
  *
  * inp - The line of input
  * min - The minimum allowed number of arguments
- * max - The maxmimum allowed number of arguments
+ * max - The maximum allowed number of arguments
  *
- * Returns - An NULL terminated array of strings representing the aguments
+ * Returns - An NULL terminated array of strings representing the arguments
  * of the command, or NULL if the validation fails.
  *
  * E.g. the following input line: