Added mechanism to display help of additional (undeclared) options.

This commit is contained in:
2025-12-08 16:59:45 +01:00
parent d4af0e985e
commit 0056b0e113
8 changed files with 35 additions and 52 deletions

View File

@@ -41,8 +41,8 @@ public class PersistencePlot extends Panel{
@Override
public void onInitialize(int runCount) {
channelSelector.configure(ChannelSelector.Type.Epics, "http://epics-boot-info.psi.ch", "sls", 3000);
if (App.hasArgument("channel")){
channelSelector.setText(App.getArgumentValue("channel"));
if (App.hasAdditionalArgument()){
channelSelector.setText(App.getAdditionalArgument());
}
if (App.hasArgument("start")){
buttonStartActionPerformed(null);