🏗️」 wip: added the print message

This commit is contained in:
2025-08-11 20:26:21 +02:00
parent 9895a80833
commit 8f1abd7940
5 changed files with 58 additions and 14 deletions

View File

@ -1,5 +1,28 @@
#pragma once
typedef struct {
char *name;
char opt;
char *doc;
} options_t;
static options_t options[] = {
{
"help",
'?',
"give this help list"
},
{
"verbose",
'v',
"verbose output"
}
};
#define OPT_NB 2
#define FT_PING_V 0.1
/**
* @brief Can be used to print the help message if no host (or addr) are
* provided