SummaryRefsLogTreeCommitDiffStats
path: root/src/mcron/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/mcron/scripts')
-rw-r--r--src/mcron/scripts/cron.scm3
-rw-r--r--src/mcron/scripts/crontab.scm3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/mcron/scripts/cron.scm b/src/mcron/scripts/cron.scm
index 323499e..1a97fdf 100644
--- a/src/mcron/scripts/cron.scm
+++ b/src/mcron/scripts/cron.scm
@@ -18,6 +18,7 @@
;;; along with GNU Mcron. If not, see <http://www.gnu.org/licenses/>.
(define-module (mcron scripts cron)
+ #:use-module (ice-9 getopt-long)
#:use-module (ice-9 ftw)
#:use-module (mcron base)
#:use-module (mcron config)
@@ -134,7 +135,7 @@ option.\n")
;;;
(define* (main #:optional (args (command-line)))
- (let ((opts (parse-args args %options)))
+ (let ((opts (getopt-long args %options)))
(when config-debug
(debug-enable 'backtrace))
(cond
diff --git a/src/mcron/scripts/crontab.scm b/src/mcron/scripts/crontab.scm
index abc3d7b..902d3fc 100644
--- a/src/mcron/scripts/crontab.scm
+++ b/src/mcron/scripts/crontab.scm
@@ -18,6 +18,7 @@
;;; along with GNU Mcron. If not, see <http://www.gnu.org/licenses/>.
(define-module (mcron scripts crontab)
+ #:use-module (ice-9 getopt-long)
#:use-module (ice-9 rdelim)
#:use-module (mcron config)
#:use-module (mcron utils)
@@ -78,7 +79,7 @@ USER-NAME has modified his crontab. USER-NAME is written to the
;;;
(define* (main #:optional (args (command-line)))
- (let ((opts (parse-args args %options)))
+ (let ((opts (getopt-long args %options)))
(when config-debug
(debug-enable 'backtrace))
(cond ((option-ref opts 'help #f)