summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewlumpkin <ewlumpkin@gmail.com>2021-10-05 03:05:42 +0000
committerewlumpkin <ewlumpkin@gmail.com>2021-10-05 03:21:50 +0000
commit81eb8fc749b8abd73857321bd9d64f2ead9f6ff5 (patch)
treef2d287a83dd699d7effc8a25284db56bba5908b0
parent5b9414484cb5e10973084108b66181938eab43eb (diff)
lib: fix spelling nits in command.h
Signed-off-by: ewlumpkin <ewlumpkin@gmail.com>
-rw-r--r--lib/command_graph.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/command_graph.h b/lib/command_graph.h
index c20c9874c2..86157f872e 100644
--- a/lib/command_graph.h
+++ b/lib/command_graph.h
@@ -79,11 +79,11 @@ enum { CMD_ATTR_NORMAL,
CMD_ATTR_YANG,
};
-/* Comamand token struct. */
+/* Command token struct. */
struct cmd_token {
enum cmd_token_type type; // token type
uint8_t attr; // token attributes
- bool allowrepeat; // matcher allowed to match token repetively?
+ bool allowrepeat; // matcher allowed to match token repetitively?
uint32_t refcnt;
char *text; // token text