lat/include/arg.h
Shav Kinderlehrer 83929dd8aa Add args
- --literal
- fix outputting format for less and piped output (finally)
2023-04-19 22:30:55 -04:00

24 lines
322 B
C

#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