common: fix typo cammand_var_complete
Change function name to command_var_complete in all calls and its declaration. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
a6e358b2f5
commit
f2bfcf98a1
|
@ -92,5 +92,5 @@ BAREBOX_CMD_START(go)
|
|||
.cmd = do_go,
|
||||
.usage = "start application at address or file",
|
||||
BAREBOX_CMD_HELP(cmd_go_help)
|
||||
BAREBOX_CMD_COMPLETE(cammand_var_complete)
|
||||
BAREBOX_CMD_COMPLETE(command_var_complete)
|
||||
BAREBOX_CMD_END
|
||||
|
|
|
@ -47,5 +47,5 @@ static int do_sleep(int argc, char *argv[])
|
|||
BAREBOX_CMD_START(sleep)
|
||||
.cmd = do_sleep,
|
||||
.usage = "delay execution for n seconds",
|
||||
BAREBOX_CMD_COMPLETE(cammand_var_complete)
|
||||
BAREBOX_CMD_COMPLETE(command_var_complete)
|
||||
BAREBOX_CMD_END
|
||||
|
|
|
@ -198,7 +198,7 @@ int empty_complete(struct string_list *sl, char *instr)
|
|||
return COMPLETE_END;
|
||||
}
|
||||
|
||||
int cammand_var_complete(struct string_list *sl, char *instr)
|
||||
int command_var_complete(struct string_list *sl, char *instr)
|
||||
{
|
||||
return COMPLETE_CONTINUE;
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ int command_complete(struct string_list *sl, char *instr);
|
|||
int device_complete(struct string_list *sl, char *instr);
|
||||
int empty_complete(struct string_list *sl, char *instr);
|
||||
int eth_complete(struct string_list *sl, char *instr);
|
||||
int cammand_var_complete(struct string_list *sl, char *instr);
|
||||
int command_var_complete(struct string_list *sl, char *instr);
|
||||
int devfs_partition_complete(struct string_list *sl, char *instr);
|
||||
|
||||
#endif /* __COMPLETE_ */
|
||||
|
|
Loading…
Reference in New Issue