aboutsummaryrefslogtreecommitdiff
path: root/src/command.h
blob: 3fcc279742e1091ec81f6679acda9df4ffb782e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* See LICENSE file for copyright & license details. */
#ifndef SM_COMMAND_H
#define SM_COMMAND_H

#include "config.h"

struct options {
    struct config cfg;
    int help;
    int version;
};

void print_cli_failure(const char *arg0);

void print_help(const char *arg0);

int parse_args(struct options *opts, int argc, char *argv[]);

#endif
(git 2.53.0) at 2026-05-13 17:18:54 +0000