-
Notifications
You must be signed in to change notification settings - Fork 0
/
wxMsCmdlineh.h
29 lines (25 loc) · 1.21 KB
/
wxMsCmdlineh.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
//-------------------------------------------------------------------
// Name: wxMsCmdlineh.h
// Purpose: command line parser header for wxMS Mail Screener
// Author: taken partly from wxWidgets wiki
// Copyright: (c) ??
// Licence: wxWidgets license
//-------------------------------------------------------------------
// ------------------------------------------------------------------
// command line processing
#if defined (WANT_CMD_LINE)
#include "wx/cmdline.h"
// ------------------------------------------------------------------
// command line processing - definitions
static const wxCmdLineEntryDesc g_cmdLineDesc[] =
{
{ wxCMD_LINE_SWITCH, "h", "help", "displays help on the command line parameters" },
{ wxCMD_LINE_SWITCH, "?", "help", "displays help on the command line parameters" },
{ wxCMD_LINE_SWITCH, "v", "version", "print version" },
{ wxCMD_LINE_OPTION, "d","debug", "specify a debug level", wxCMD_LINE_VAL_NUMBER },
{ wxCMD_LINE_PARAM, NULL, NULL,"input file", wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL },
{ wxCMD_LINE_SWITCH, "s", "silent", "disables the GUI" },
{ wxCMD_LINE_NONE }
};
#endif
// ------------------------------- eof ------------------------------