@@ -111,22 +111,30 @@ def formatter(prog):
111111 "\n "
112112 "Examples:\n "
113113 "\n "
114- " Read the configuration node named 'eiger_config'. Print the full config data:\n "
114+ " Check login credentials. User password is requested interactively. Alternatively,\n "
115+ " the password can be passed using environment variable `SAVE_AND_RESTORE_API_USER_PASSWORD`\n "
115116 "\n "
116- " save-and-restore --host-url http://localhost:8080/save-restore \\ \n "
117- " CONFIG GET --config-name /detectors/imaging/eiger_config --show-data=ON\n "
117+ " save-and-restore --base-url http://localhost:8080/save-restore --user-name=user LOGIN\n "
118118 "\n "
119- " Create a new configuration node named 'eiger_config':\n "
119+ " Read the configuration node named 'eiger_config'. Print the full configuration data\n "
120+ " (the list of PVs):\n "
120121 "\n "
121- " save-and-restore --host-url=http://localhost:8080/save-restore --username=user\\ \n "
122- " --create-folders=true CONFIG ADD --config-name=/detectors/imaging/eiger_config \\ \n "
123- " --file-name=eiger_pvs.sav --file-format=autosave\n "
122+ " save-and-restore --base-url http://localhost:8080/save-restore \\ \n "
123+ " CONFIG GET --config-name /detectors/imaging/eiger_config --show-data=ON\n "
124124 "\n "
125- " Update an existing configuration node named 'eiger_config':\n "
125+ " Create a new configuration node named 'eiger_config'. Load the list of PVs from\n "
126+ " file ``eiger_pvs.sav``. Automatically create any missing parent folders in the path:\n "
126127 "\n "
127- " save-and-restore --host-url http://localhost:8080/save-restore --username=user\\ \n "
128- " CONFIG UPDATE --config-name /detectors/imaging/eiger_config \\ \n "
129- " --file-name eiger_pvs.sav --file-format autosave\n " ,
128+ " save-and-restore --base-url=http://localhost:8080/save-restore --user-name=user \\ \n "
129+ " --create-folders=ON CONFIG ADD --config-name=/detectors/imaging/eiger_config \\ \n "
130+ " --file-name=eiger_pvs.sav --file-format=autosave\n "
131+ "\n "
132+ " Update an existing configuration node named 'eiger_config'. Load the list of PVs\n "
133+ " from the file ``eiger_pvs.sav``:\n "
134+ "\n "
135+ " save-and-restore --base-url http://localhost:8080/save-restore --user-name=user \\ \n "
136+ " CONFIG UPDATE --config-name /detectors/imaging/eiger_config \\ \n "
137+ " --file-name eiger_pvs.sav --file-format autosave\n " ,
130138 formatter_class = formatter ,
131139 )
132140
0 commit comments