-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCmdLineArgs.hpp
More file actions
33 lines (28 loc) · 1.12 KB
/
Copy pathCmdLineArgs.hpp
File metadata and controls
33 lines (28 loc) · 1.12 KB
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
////////////////////////////////////////////////////////////////////////////////
//! \file CmdLineArgs.hpp
//! \brief The set of all command line switches.
//! \author Chris Oldwood
// Check for previous inclusion
#ifndef APP_CMDLINEARGS_HPP
#define APP_CMDLINEARGS_HPP
#if _MSC_VER > 1000
#pragma once
#endif
////////////////////////////////////////////////////////////////////////////////
//! The command line switches.
enum CmdLineArgType
{
USAGE = 0, //!< Show the program options syntax.
VERSION = 1, //!< Show the program version and copyright.
HOSTNAMES = 2, //!< The hostnames to run the query on.
USER = 3, //!< The login name to use for remote hosts.
PASSWORD = 4, //!< The password to use for remote hosts.
SHOW_HOST = 5, //!< Repeat the hostname in the output.
SHOW_TYPES = 6, //!< Display the COM type of the property values.
NO_FORMAT = 7, //!< Display raw values instead of beautifying them.
ALIGN = 8, //!< Align the output.
HOSTSFILE = 9, //!< The file with a list of hostnames.
TOP = 10, //!< Only show the first N items
MANUAL = 99, //!< Show the manual.
};
#endif // APP_CMDLINEARGS_HPP