22 Function to create an argument parser. |
22 Function to create an argument parser. |
23 |
23 |
24 @return created argument parser object |
24 @return created argument parser object |
25 @rtype argparse.ArgumentParser |
25 @rtype argparse.ArgumentParser |
26 """ |
26 """ |
27 from eric7.UI.Info import Version |
27 from eric7.__version__ import Version |
28 |
28 |
29 # 1. create the argument parser |
29 # 1. create the argument parser |
30 parser = argparse.ArgumentParser( |
30 parser = argparse.ArgumentParser( |
31 description="Graphical configuration editor for the eric tool suite.", |
31 description="Graphical configuration editor for the eric tool suite.", |
32 epilog="Copyright (c) 2006 - 2024 Detlev Offenbach <detlev@die-offenbachs.de>.", |
32 epilog="Copyright (c) 2006 - 2024 Detlev Offenbach <detlev@die-offenbachs.de>.", |