add: help
This commit is contained in:
@ -8,7 +8,7 @@ parsing(data, cmd_ptr)
|
||||
local tmp;
|
||||
local line_application;
|
||||
|
||||
input = geadline("(default)");
|
||||
input = get_input(data, "(default)", NULL);
|
||||
if (input == NULL)
|
||||
return 1;
|
||||
if (strcmp(input, ".") == 0)
|
||||
@ -87,6 +87,8 @@ main()
|
||||
cmd_numbered(data, NULL);
|
||||
else if (strcmp(cmd, "d") == 0)
|
||||
cmd_delete(data, NULL);
|
||||
else if (strcmp(cmd, "h") == 0)
|
||||
cmd_help(data, NULL);
|
||||
else
|
||||
error(data, "cmd not foud");
|
||||
free(cmd);
|
||||
|
Reference in New Issue
Block a user