Skip to content

Commit 6082325

Browse files
committed
Fix the usage message
1 parent 7618c67 commit 6082325

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/lexer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void lex(void* input_void) {
5858

5959
int main(int argc, char* argv[]){
6060
if (argc != 2) {
61-
printf("Usage: %s <input-text>\n", argv[1]);
61+
printf("Usage: %s <input-text>\n", argv[0]);
6262
return 1;
6363
}
6464

0 commit comments

Comments
 (0)