27 Function to create an argument parser. |
27 Function to create an argument parser. |
28 |
28 |
29 @return created argument parser object |
29 @return created argument parser object |
30 @rtype argparse.ArgumentParser |
30 @rtype argparse.ArgumentParser |
31 """ |
31 """ |
32 from eric7.UI.Info import Version |
32 from eric7.__version__ import Version |
33 |
33 |
34 # 1. create the argument parser |
34 # 1. create the argument parser |
35 parser = argparse.ArgumentParser( |
35 parser = argparse.ArgumentParser( |
36 description="Graphical editor for the Mercurial 'histedit' command.", |
36 description="Graphical editor for the Mercurial 'histedit' command.", |
37 epilog="Copyright (c) 2016 - 2024 Detlev Offenbach <detlev@die-offenbachs.de>.", |
37 epilog="Copyright (c) 2016 - 2024 Detlev Offenbach <detlev@die-offenbachs.de>.", |