From 8543501533fad7d202870c6f8a19211ac207dbbb Mon Sep 17 00:00:00 2001 From: Artur Glavic Date: Mon, 24 Aug 2026 09:28:25 +0200 Subject: [PATCH] Add eos version to help string --- eos/command_line.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eos/command_line.py b/eos/command_line.py index 6b598e4..db05c0d 100644 --- a/eos/command_line.py +++ b/eos/command_line.py @@ -2,14 +2,14 @@ import argparse from typing import List, Type from .options import ArgParsable - +from . import __version__ def commandLineArgs(config_items: List[Type[ArgParsable]], program_name=None, extra_args=[]): """ Process command line argument. The type of the default values is used for conversion and validation. """ - msg = "eos reads data from (one or several) raw file(s) of the .hdf format, \ + msg = f"eos ({__version__}) reads data from (one or several) raw file(s) of the .hdf format, \ performs various corrections, conversations and projections and exports\ the resulting reflectivity in an orso-compatible format." clas = argparse.ArgumentParser(prog=program_name,