aboutsummaryrefslogtreecommitdiff
path: root/include/arg.h
blob: 06badf10bf91b5739d37ddb856ba4e366444e5f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef ARG_H
#define ARG_H
#include <stdbool.h>

#define LAT_VERSION "0.11.0"

struct config {
  bool stdin;
  bool process;
  bool color;
  bool lines;
  bool headers;
  int force_binary;
  bool literal;
  bool pager;
  bool has_read_stdin;
};

extern struct config conf;

int parseargs(int argc, char *argv[]);

#endif