Rename "vocabulory" to "vocabulary"

This commit is contained in:
Alex 2023-08-09 19:49:55 +02:00
commit 4b1090c8c7
5 changed files with 1639 additions and 826 deletions

View file

@ -12,7 +12,7 @@ This version
- Iceman
Note:
This script is used as a helper script to generate the pm3line_vocabulory.h file.
This script is used as a helper script to generate the pm3line_vocabulary.h file.
It need a working proxmark3 client to extract the help text.
Ie: this script can't be used inside the normal build sequence.
@ -65,8 +65,8 @@ def main():
// readline auto complete utilities
//-----------------------------------------------------------------------------
#ifndef PM3LINE_VOCABULORY_H__
#define PM3LINE_VOCABULORY_H__
#ifndef PM3LINE_VOCABULARY_H__
#define PM3LINE_VOCABULARY_H__
#ifdef __cplusplus
extern "C" {
@ -74,12 +74,12 @@ extern "C" {
#include <stdbool.h>
typedef struct vocabulory_s {
typedef struct vocabulary_s {
bool offline;
const char *name;
} vocabulory_t;
} vocabulary_t;
const static vocabulory_t vocabulory[] = {\n""")
const static vocabulary_t vocabulary[] = {\n""")
for key, values in command_data.items():
offline = 0