forked from winkj/httpup
-
Notifications
You must be signed in to change notification settings - Fork 1
/
httpupargparser.h
43 lines (31 loc) · 1.25 KB
/
httpupargparser.h
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
32
33
34
35
36
37
38
39
40
41
42
43
////////////////////////////////////////////////////////////////////////
// FILE: httpupargparser.h
// AUTHOR: Johannes Winkelmann, [email protected]
// COPYRIGHT: (c) 2005 by Johannes Winkelmann
// ---------------------------------------------------------------------
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
////////////////////////////////////////////////////////////////////////
#ifndef _HTTPUPARGPARSER_H_
#define _HTTPUPARGPARSER_H_
#include "argparser.h"
class HttpupArgparser
: public ArgParser
{
public:
HttpupArgparser();
virtual ~HttpupArgparser() {}
static ArgParser::APCmd CMD_SYNC;
// static ArgParser::APCmd CMD_MIRROR;
static ArgParser::APCmd CMD_COPY;
static ArgParser::APCmd CMD_LIST;
static ArgParser::APOpt OPT_REPOFILE;
static ArgParser::APOpt OPT_ENCODE;
static ArgParser::APOpt OPT_VERIFY_MD5;
static ArgParser::APOpt OPT_INSECURE_SSL;
std::string getAppIdentification() const
{ return std::string("httpup ") + MF_VERSION + "\n"; }
};
#endif /* _HTTPUPARGPARSER_H_ */