diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/driver.cc | 2 | ||||
-rw-r--r-- | kernel/register.cc | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/kernel/driver.cc b/kernel/driver.cc index 94c6b39bb..ce648d0ad 100644 --- a/kernel/driver.cc +++ b/kernel/driver.cc @@ -210,6 +210,8 @@ struct ShellPass : public Pass { log("This command is the default action if nothing else has been specified\n"); log("on the command line.\n"); log("\n"); + log("Press Ctrl-D to leave the interactive shell.\n"); + log("\n"); } virtual void execute(std::vector<std::string>, RTLIL::Design *design) { shell(design); diff --git a/kernel/register.cc b/kernel/register.cc index c1aa50dd5..7b670ccea 100644 --- a/kernel/register.cc +++ b/kernel/register.cc @@ -146,7 +146,7 @@ void Pass::call(RTLIL::Design *design, std::vector<std::string> args) if (args.size() == 0 || args[0][0] == '#') return; if (pass_register.count(args[0]) == 0) - log_cmd_error("No such command: %s\n", args[0].c_str()); + log_cmd_error("No such command: %s (type 'help' for a command overview)\n", args[0].c_str()); size_t orig_sel_stack_pos = design->selection_stack.size(); pass_register[args[0]]->execute(args, design); @@ -356,6 +356,9 @@ struct HelpPass : public Pass { log("\n"); for (auto &it : REGISTER_INTERN::pass_register) log(" %-20s %s\n", it.first.c_str(), it.second->short_help.c_str()); + log("\n"); + log("Type 'help <command>' for more information on a command.\n"); + log("\n"); return; } |