Add version information to the main executable 97/34397/9
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Wed, 21 Jan 2015 13:12:42 +0000 (14:12 +0100)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Tue, 24 Feb 2015 15:02:32 +0000 (16:02 +0100)
commitf63545c4a541e55fc14e120d830b5fa5b814cba7
tree12d0ab81c67c2745bbdb4f4803ed9d9eb75e9564
parenta733a2ecfb267aa5e35b2b98d4baf7aefc0fecbe
Add version information to the main executable

In order to comply with GNU Coding Standards for command-line
interfaces, Cynara has to report its current version.

Cynara now responds to two command-line options:
* -V, --version    prints installed version of Cynara,
* -h, --help       prints help message.

Change-Id: I386a09d00f1542cbff8db6a4b9eb2ac9a7fab9fb
packaging/cynara.spec
src/service/CMakeLists.txt
src/service/main/CmdlineParser.cpp [new file with mode: 0644]
src/service/main/CmdlineParser.h [new file with mode: 0644]
src/service/main/main.cpp