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 tool of the eric tool suite to interact with µPy/CPy" |
31 description="Graphical tool of the eric tool suite to interact with µPy/CPy" |
32 " devices", |
32 " devices", |