mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-11-03 20:53:18 +01:00
updated argparse help
This commit is contained in:
1 parent
4d28a9c656
commit
98f265aa38
1 file changed
+2
-2
@@ -49,8 +49,8 @@ def main():
|
||||
parser = ArgumentParser(description="Read DAQ Binary Buffer for JFs")
|
||||
|
||||
parser.add_argument("detector", help="detector name (JF01...)")
|
||||
parser.add_argument("--n_modules", type=int, help="number of modules to read from this device")
|
||||
parser.add_argument("--pulse_id", type=int, help="pulse ID to retrieve")
|
||||
parser.add_argument("--n_modules", type=int, help="number of modules to read from this device (if not given, all modules are read)")
|
||||
parser.add_argument("--pulse_id", type=int, help="pulse ID to retrieve (if not given, the last pulse ID is retrieved -- negative values count backwards from the last)")
|
||||
parser.add_argument("--log_level", default="WARNING", choices=["CRITICAL", "ERROR", "WARNING", "INFO", "DEBUG"], help="log level")
|
||||
|
||||
clargs = parser.parse_args()
|
||||
|
||||
Reference in new issue
Block a user