mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
client: completion for device commands
This commit is contained in:
parent
02b52adf61
commit
20588ff778
@ -424,10 +424,22 @@ static const struct command device_commands[] = {
|
||||
{ }
|
||||
};
|
||||
|
||||
static char *family_arg_completion(const char *text, int state)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static char *entity_arg_completion(const char *text, int state)
|
||||
{
|
||||
return command_entity_arg_completion(text, state, device_commands);
|
||||
}
|
||||
|
||||
static struct command_family device_command_family = {
|
||||
.caption = "Devices",
|
||||
.name = "device",
|
||||
.command_list = device_commands,
|
||||
.family_arg_completion = family_arg_completion,
|
||||
.entity_arg_completion = entity_arg_completion,
|
||||
};
|
||||
|
||||
static int device_command_family_init(void)
|
||||
|
Loading…
Reference in New Issue
Block a user