1 ///////////////////////////////////////////////////////////////////////////////
4 /// \brief Argument parsing
6 // Copyright (C) 2007 Lasse Collin
8 // This program is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU Lesser General Public
10 // License as published by the Free Software Foundation; either
11 // version 2.1 of the License, or (at your option) any later version.
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // Lesser General Public License for more details.
18 ///////////////////////////////////////////////////////////////////////////////
27 /// Filenames from command line
30 /// Number of filenames from command line
33 /// Name of the file from which to read filenames. This is NULL
34 /// if --files or --files0 was not used.
37 /// File opened for reading from which filenames are read. This is
38 /// non-NULL only if files_name is non-NULL.
41 /// Delimiter for filenames read from files_file
47 extern bool opt_stdout;
48 extern bool opt_force;
49 extern bool opt_keep_original;
50 // extern bool opt_recursive;
52 extern const char *stdin_filename;
54 extern void args_parse(args_info *args, int argc, char **argv);