Add the proto part of option requirements.

This commit is contained in:
dg
2023-05-10 18:29:46 +00:00
parent ed4067f194
commit cf537b6222
4 changed files with 96 additions and 14 deletions

View File

@@ -17,12 +17,8 @@ message GreaseWeazleProto {
}
message UsbProto {
oneof device {
string serial = 1
[(help) = "serial number of FluxEngine or GreaseWeazle device to use"];
}
optional string serial = 1
[(help) = "serial number of FluxEngine or GreaseWeazle device to use"];
oneof config {
GreaseWeazleProto greaseweazle = 2 [(help) = "GreaseWeazle-specific options"];
}
optional GreaseWeazleProto greaseweazle = 2 [(help) = "GreaseWeazle-specific options"];
}