2020-10-16 00:22:59 +02:00
|
|
|
#ifndef _OPTIONS_H
|
|
|
|
#define _OPTIONS_H
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
extern bool ignore_case;
|
|
|
|
extern bool only_count;
|
|
|
|
extern bool print_nul;
|
|
|
|
extern bool use_debug;
|
2020-10-16 00:48:23 +02:00
|
|
|
extern bool flush_cache;
|
2020-10-16 00:22:59 +02:00
|
|
|
extern bool patterns_are_regex;
|
|
|
|
extern bool use_extended_regex;
|
2021-07-27 16:19:01 +02:00
|
|
|
extern bool check_existence;
|
2020-10-16 00:22:59 +02:00
|
|
|
extern int64_t limit_matches;
|
|
|
|
extern int64_t limit_left; // Not strictly an option.
|
2020-10-29 23:42:01 +01:00
|
|
|
extern bool stdout_is_tty; // Same.
|
2021-10-05 23:02:09 +02:00
|
|
|
extern bool literal_printing;
|
2020-10-16 00:22:59 +02:00
|
|
|
|
|
|
|
#endif // !defined(_OPTIONS_H)
|