Skip to content

Commit

Permalink
Fix help subtoken parser.
Browse files Browse the repository at this point in the history
  • Loading branch information
biot committed Nov 22, 2014
1 parent 752b988 commit 3549364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokenline.c
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ static void process_line(t_tokenline *tl)
break;
if (!strcmp(tl->buf + words[0], "help")) {
/* Tokenize with errors turned off. */
tokenize(tl, words, num_words, &tokens, NULL);
tokenize(tl, words + 1, num_words - 1, &tokens, NULL);
if (tl->parsed.last_token_entry) {
show_help(tl, words, num_words);
}
Expand Down

0 comments on commit 3549364

Please sign in to comment.