rfdsatt: abbreviate mircovty commands as we have no tab completion

This commit is contained in:
Harald Welte 2021-05-05 22:39:56 +02:00
parent b94ed88133
commit 4e20a652a2
1 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ DEFUN(version, version_cmd, "version", "Get the firmware version")
printf("Firmware Version: %s\r\n", GIT_VERSION);
}
DEFUN(att_show, att_show_cmd, "attenuator-show", "Show state of all attenuators")
DEFUN(att_show, att_show_cmd, "show", "Show state of all attenuators")
{
unsigned int channel;
@ -197,7 +197,7 @@ DEFUN(att_show, att_show_cmd, "attenuator-show", "Show state of all attenuators"
}
}
DEFUN(att_set, att_set_cmd, "attenuator-set",
DEFUN(att_set, att_set_cmd, "set",
"Set an attenuator (channel, stage, dB)")
{
int channel, stage, dB;