diff options
author | Mathieu Lirzin <mthl@gnu.org> | 2017-04-25 16:32:49 +0200 |
---|---|---|
committer | Mathieu Lirzin <mthl@gnu.org> | 2017-09-28 18:12:27 +0200 |
commit | d01195784352b29fe13d0676a2f50d60371d007f (patch) | |
tree | c7897c43468210847e454c550ff3ef53d8d4a61a /src/utils.h | |
parent | c01106387f6d0866ef6fd4801473984cc642e60b (diff) | |
download | mcron-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