Lines 72-78
Link Here
|
72 |
int cmd_test(struct cli_def *cli, const char *command, char *argv[], int argc) |
72 |
int cmd_test(struct cli_def *cli, const char *command, char *argv[], int argc) |
73 |
{ |
73 |
{ |
74 |
int i; |
74 |
int i; |
75 |
cli_print(cli, "called %s with \"%s\"", __FUNCTION__, command); |
75 |
cli_print(cli, "called %s with \"%s\"", __func__, command); |
76 |
cli_print(cli, "%d arguments:", argc); |
76 |
cli_print(cli, "%d arguments:", argc); |
77 |
for (i = 0; i < argc; i++) |
77 |
for (i = 0; i < argc; i++) |
78 |
cli_print(cli, " %s", argv[i]); |
78 |
cli_print(cli, " %s", argv[i]); |