From 799000ebd482e913139708c44fb5d17984451379 Mon Sep 17 00:00:00 2001 From: Tristan Riehs Date: Tue, 11 Nov 2025 12:25:49 +0100 Subject: Add doc for parse_args --- src/main.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/main.c b/src/main.c index c464cee..7303ecb 100644 --- a/src/main.c +++ b/src/main.c @@ -9,6 +9,14 @@ static void ftag_init(int, char **); static void ftag_help(int, char **); +static void ftag_tag(int, char **); + +/* Parse arguments using an array of available commands. ARGV[0] has to match + * the "name" field of an entry of COMMANDS. */ +static void parse_args(int argc, + char ** argv, + const struct ftag_command *commands, + int command_count); struct ftag_command { const char *name; -- cgit v1.2.3