Skip to content

Commit

Permalink
Some more cleanup #151
Browse files Browse the repository at this point in the history
  • Loading branch information
double-fault committed Jan 12, 2017
1 parent c25047c commit 3ffa39d
Show file tree
Hide file tree
Showing 2 changed files with 163 additions and 149 deletions.
18 changes: 9 additions & 9 deletions bin/boneshell/boneshell.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,16 +157,16 @@ int boneshell_handler(char* cmd)
else if(num_opts==1)
loop_terminal();
else
printk(cmd_boneshell.invalid_use_msg);
printk(cmd_boneshell.invalid_use_msg);

return STATUS_OK;
}

struct cmd_t cmd_boneshell =
{
.name = "boneshell",
.usage = "boneshell [--help] ",
.help = "boneshell(1) \t\t\t\t BoneOS Terminal Manual \n"
.name = "boneshell",
.usage = "boneshell [--help] ",
.help = "boneshell(1) \t\t\t\t BoneOS Terminal Manual \n"
"NAME : \n "
"\tboneshell\n"
"SYNOPSIS : \n "
Expand All @@ -176,11 +176,11 @@ struct cmd_t cmd_boneshell =
"\tthe child of the previous parent shell process.\n "
"\tcommand exit used to stop this child shell process.\n "
"\ttype exit --help for more on exit command\n ",
.cmd_opts = cmd_boneshell_opts,
.handler = &boneshell_handler,
.invalid_use_msg = "Invalid use of boneshell command.\n"
"Type in boneshell --help for more help.\n",
.privilege = USER
.cmd_opts = cmd_boneshell_opts,
.handler = &boneshell_handler,
.invalid_use_msg = "Invalid use of boneshell command.\n"
"Type in boneshell --help for more help.\n",
.privilege = USER
};


Expand Down
Loading

0 comments on commit 3ffa39d

Please sign in to comment.