fix(frontends/lean): help msg
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
f781ad823c
commit
d79e9af210
2 changed files with 3 additions and 3 deletions
|
@ -502,7 +502,7 @@ void parser_imp::parse_set_option() {
|
|||
name lean_id = name("lean") + id;
|
||||
decl_it = get_option_declarations().find(lean_id);
|
||||
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 {
|
||||
id = lean_id;
|
||||
}
|
||||
|
|
|
@ -185,9 +185,9 @@ int main(int argc, char ** argv) {
|
|||
signal(SIGINT, on_ctrl_c);
|
||||
if (default_k == input_kind::Lean) {
|
||||
#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
|
||||
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
|
||||
shell sh(env, &S);
|
||||
int status = sh() ? 0 : 1;
|
||||
|
|
Loading…
Reference in a new issue