fix(frontends/lean): help msg

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-02-18 09:31:30 -08:00
parent f781ad823c
commit d79e9af210
2 changed files with 3 additions and 3 deletions

View file

@ -502,7 +502,7 @@ void parser_imp::parse_set_option() {
name lean_id = name("lean") + id; name lean_id = name("lean") + id;
decl_it = get_option_declarations().find(lean_id); decl_it = get_option_declarations().find(lean_id);
if (decl_it == get_option_declarations().end()) { if (decl_it == get_option_declarations().end()) {
throw parser_error(sstream() << "unknown option '" << id << "', type 'Help Options.' for list of available options", id_pos); throw parser_error(sstream() << "unknown option '" << id << "', type 'help options.' for list of available options", id_pos);
} else { } else {
id = lean_id; id = lean_id;
} }

View file

@ -185,9 +185,9 @@ int main(int argc, char ** argv) {
signal(SIGINT, on_ctrl_c); signal(SIGINT, on_ctrl_c);
if (default_k == input_kind::Lean) { if (default_k == input_kind::Lean) {
#if defined(LEAN_WINDOWS) #if defined(LEAN_WINDOWS)
std::cout << "Type 'Exit.' to exit or 'Help.' for help."<< std::endl; std::cout << "Type 'exit.' to exit or 'help.' for help."<< std::endl;
#else #else
std::cout << "Type Ctrl-D or 'Exit.' to exit or 'Help.' for help."<< std::endl; std::cout << "Type Ctrl-D or 'exit.' to exit or 'help.' for help."<< std::endl;
#endif #endif
shell sh(env, &S); shell sh(env, &S);
int status = sh() ? 0 : 1; int status = sh() ? 0 : 1;