SummaryRefsLogTreeCommitDiffStats
path: root/src/utils.h
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2017-04-25 16:32:49 +0200
committerMathieu Lirzin <mthl@gnu.org>2017-09-28 18:12:27 +0200
commitd01195784352b29fe13d0676a2f50d60371d007f (patch)
treec7897c43468210847e454c550ff3ef53d8d4a61a /src/utils.h
parentc01106387f6d0866ef6fd4801473984cc642e60b (diff)
downloadmcron-d01195784352b29fe13d0676a2f50d60371d007f.tar.gz
mcron-d01195784352b29fe13d0676a2f50d60371d007f.tar.bz2
mcron-d01195784352b29fe13d0676a2f50d60371d007f.zip
mcron: Handle command line arguments in C with argp
'argp' is a convenient and maintainable way to parse command line arguments. Guile doesn't offer an equivalent of this, so the command line handling has been moved to C. * src/mcron.c (parse_args, parse_opt): New functions. (inner_main): Call 'parse_args'. * src/mcron/scripts/mcron.scm (show-help, %options): Delete. (main): Remove command line handling.
Diffstat (limited to 'src/utils.h')
0 files changed, 0 insertions, 0 deletions