rfdsatt: abbreviate mircovty commands as we have no tab completion
This commit is contained in:
parent
b94ed88133
commit
4e20a652a2
|
@ -179,7 +179,7 @@ DEFUN(version, version_cmd, "version", "Get the firmware version")
|
||||||
printf("Firmware Version: %s\r\n", GIT_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;
|
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)")
|
"Set an attenuator (channel, stage, dB)")
|
||||||
{
|
{
|
||||||
int channel, stage, dB;
|
int channel, stage, dB;
|
||||||
|
|
Loading…
Reference in New Issue