libosmocore[master]: utils/ improve application flexibility

Holger Freyther gerrit-no-reply at
Thu Feb 2 13:38:20 UTC 2017

Patch Set 4:

> usage: [-h] [-p PREFIX] [-n TARGET_NAME] [-P
 > {gen_codes,gen_vectors,gen_header} {gsm}

 > witch the previous one. I looked for opportunity to customize the
 > help output,
 > but such approach requires to create a new class and redefine some
 > internal methods.
 > So, if usage of argparse is mandatory, I will rewrite the code, and
 > will not care about help.

okay I see that you can not describe gen_codes here. I think it is still better to use argparse and if needed write a formatter_class or custom command (e.g. how is gen_codes, gen_vectors added tot he parser?)

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I0b476b00234c17f78b41d695cf3bfd13edb64c28
Gerrit-PatchSet: 4
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilirator at>
Gerrit-Reviewer: Harald Welte <laforge at>
Gerrit-Reviewer: Holger Freyther <holger at>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at>
Gerrit-Reviewer: tnt <tnt at>
Gerrit-HasComments: No

More information about the gerrit-log mailing list