Just a last thing - make the help strings in the daemon translatable,
the rest seems fine.
Thank you,
Jirka
On 09/29/2010 01:17 PM, Nikola Pajkovsky wrote:
A new parser is developed because of we have a lot of standalone
applicaions.
When bad argument is passed to app, parser will generate a help, it means
all app will have same help output. For now is only daemon moved to a new
parser to see how to use it.
Nikola Pajkovsky (3):
xfunc.c: add new funtion xcalloc
new args parser
Daemon.cpp: remove getopt and use parse_opts instead
inc/xfuncs.h | 1 +
lib/utils/Makefile.am | 3 +-
lib/utils/parse_options.c | 130 +++++++++++++++++++++++++++++++++++++++++++++
lib/utils/parse_options.h | 37 +++++++++++++
lib/utils/xfuncs.c | 8 +++
src/daemon/Daemon.cpp | 65 ++++++++++++-----------
6 files changed, 212 insertions(+), 32 deletions(-)
create mode 100644 lib/utils/parse_options.c
create mode 100644 lib/utils/parse_options.h
_______________________________________________
Crash-catcher mailing list
Crash-catcher(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/crash-catcher