1
1
mirror of http://git.sesse.net/plocate synced 2025-10-05 23:42:49 +02:00
Files
plocate/options.h
Steinar H. Gunderson 67c741868b Implement the -N/--literal option.
This matches the GNU coreutils option to turn off the automatic
quoting of special characters when printing to a tty.
2021-10-05 23:02:09 +02:00

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)