6 static int cmd_test2_exec ( int argc
, char **argv
) {
9 printf("Hello, world!\nI got the following arguments passed to me: \n");
10 for(i
= 0; i
< argc
; i
++){
11 printf("%d: \"%s\"\n", i
, argv
[i
]);
16 struct command test2_command __command
= {
18 .usage
= "A test command\nIt does nothing at all\n\nExample:\n\ttest2",
19 .desc
= "Does nothing",
20 .exec
= cmd_test2_exec
,