summaryrefslogtreecommitdiffstats
path: root/client/cmd_line_parser.cpp
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-14 16:54:18 +0200
committerHans de Goede <hdegoede@redhat.com>2011-04-20 10:45:10 +0200
commit4bcb62f9a1c1a855cbd709317fe222feb6730fb8 (patch)
tree4fbec10d634488ebaa193472b91e58a9b976e514 /client/cmd_line_parser.cpp
parent443994ba87e0449925a618f9b707c226b6bb43e3 (diff)
downloadspice-4bcb62f9a1c1a855cbd709317fe222feb6730fb8.tar.gz
spice-4bcb62f9a1c1a855cbd709317fe222feb6730fb8.tar.xz
spice-4bcb62f9a1c1a855cbd709317fe222feb6730fb8.zip
client: s/AVAILIBLE/AVAILABLE in CmdLineParser
It was mispelt in a CmdLineParser enum.
Diffstat (limited to 'client/cmd_line_parser.cpp')
-rw-r--r--client/cmd_line_parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/cmd_line_parser.cpp b/client/cmd_line_parser.cpp
index 7c396ba1..f503c5ca 100644
--- a/client/cmd_line_parser.cpp
+++ b/client/cmd_line_parser.cpp
@@ -112,7 +112,7 @@ void CmdLineParser::add_private(int id, const std::string& name, char short_name
void CmdLineParser::add(int id, const std::string& name, const std::string& help, char short_name)
{
- if (id < OPTION_FIRST_AVILABLE) {
+ if (id < OPTION_FIRST_AVAILABLE) {
THROW("invalid id");
}
add_private(id, name, short_name, NO_ARGUMENT, help, "");
@@ -121,7 +121,7 @@ void CmdLineParser::add(int id, const std::string& name, const std::string& help
void CmdLineParser::add(int id, const std::string& name, const std::string& help,
const std::string& arg_name, bool reqired_arg, char short_name)
{
- if (id < OPTION_FIRST_AVILABLE) {
+ if (id < OPTION_FIRST_AVAILABLE) {
THROW("invalid id");
}