-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.dox
31 lines (27 loc) · 793 Bytes
/
main.dox
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
* @mainpage
* BibRef, a project dedicated to find citations of the
* Septuagint in the Greek New Testament.
*
* This code is in the public domain
* and contributed by Zoltán Kovács <zoltan@geogebra.org>.
*/
/**
* @file main.cpp
* The main program.
*/
/// Parse the command line input.
/// @author Iain Hull (https://stackoverflow.com/a/868894/1044586)
class InputParser {
public:
/// Parse the command line input.
InputParser(int &argc, char **argv);
/// Get the command option.
const string &getCmdOption(const string &option) const;
/// Is a specific command line option given?
bool cmdOptionExists(const string &option) const;
};
/// Show the command line help.
void showHelp(const string &executable);
/// The main program.
int main(int argc, char **argv);