Stipe Tolj schrieb:
Hi list,

please find attached a simple patch, that allows to use

  $ <kannel binary> --version

to dump the full Kannel version string to stdout.

I moved the version dumping related functions from gw/shared.[ch] to
gwlib/utils.[ch] and embedded the '--version' in get_and_set_debugs(), so there
is need of change in the binary main functions itself.

Please have a review and vote. As this is just a simple "feature add", I'll
commit if there is no objection, which I don't expect ;)

committed to CVS HEAD, with Alex's suggestion in moving the log-level to INFO while dumping to the logs.

Stipe

--
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------

Reply via email to