1 ///////////////////////////////////////////////////////////////////////////////
4 /// \brief Argument parsing
6 // Authors: Lasse Collin
9 // This file has been put into the public domain.
10 // You can do whatever you want with this file.
12 ///////////////////////////////////////////////////////////////////////////////
15 /// Filenames from command line
18 /// Number of filenames from command line
19 unsigned int arg_count
;
21 /// Name of the file from which to read filenames. This is NULL
22 /// if --files or --files0 was not used.
23 const char *files_name
;
25 /// File opened for reading from which filenames are read. This is
26 /// non-NULL only if files_name is non-NULL.
29 /// Delimiter for filenames read from files_file
35 extern bool opt_stdout
;
36 extern bool opt_force
;
37 extern bool opt_keep_original
;
38 // extern bool opt_recursive;
39 extern bool opt_robot
;
40 extern bool opt_ignore_check
;
42 extern const char stdin_filename
[];
44 extern void args_parse(args_info
*args
, int argc
, char **argv
);
45 extern void args_free(void);