mirror of
http://git.sesse.net/plocate
synced 2025-10-05 23:42:49 +02:00
This matches the GNU coreutils option to turn off the automatic quoting of special characters when printing to a tty.
20 lines
458 B
C
20 lines
458 B
C
#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;
|
|
extern bool flush_cache;
|
|
extern bool patterns_are_regex;
|
|
extern bool use_extended_regex;
|
|
extern bool check_existence;
|
|
extern int64_t limit_matches;
|
|
extern int64_t limit_left; // Not strictly an option.
|
|
extern bool stdout_is_tty; // Same.
|
|
extern bool literal_printing;
|
|
|
|
#endif // !defined(_OPTIONS_H)
|