spiv: Rewrite configuration, add config file.
commitdc4ff99fcfb3320e4627e7f7c35c09c916da0809
authorCyril Hrubis <metan@ucw.cz>
Thu, 10 Oct 2013 20:39:59 +0000 (10 22:39 +0200)
committerCyril Hrubis <metan@ucw.cz>
Mon, 14 Oct 2013 09:25:52 +0000 (14 11:25 +0200)
tree5968d5d20c15171c1173e2ae6895861532b7038c
parent67843356569850ec5c7f6e4e77c55dcb97fc6721
spiv: Rewrite configuration, add config file.

* Rewrite spiv command line parameters parsing
  (adds long options)

* Add support for configuration files
  (now it tries /etc/spiv.conf and ~/.spiv)

* Add --print-man switch to generate man page

Not finished yet, more will come soon.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
demos/spiv/Makefile
demos/spiv/cfg.c [new file with mode: 0644]
demos/spiv/cfg.h [new file with mode: 0644]
demos/spiv/spiv.c
demos/spiv/spiv_config.c [new file with mode: 0644]
demos/spiv/spiv_config.h [new file with mode: 0644]
demos/spiv/spiv_help.c