[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Give mcron the -h short option instead of -?.
From: |
jgart |
Subject: |
[PATCH] Give mcron the -h short option instead of -?. |
Date: |
Mon, 26 Dec 2022 00:07:18 -0600 |
Using the -? short option causes an exception to occur at the terminal.
* src/mcron/scripts/mcron.scm: Change -? short option to -h.
Hi, this patch changes the -? short option to instead be -h.
What do you think?
all best,
jgart
https://whereis.みんな/
---
src/mcron/scripts/mcron.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/mcron/scripts/mcron.scm b/src/mcron/scripts/mcron.scm
index 11c0e34..9345651 100644
--- a/src/mcron/scripts/mcron.scm
+++ b/src/mcron/scripts/mcron.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2003, 2012 Dale Mellor <dale_mellor@users.sourceforge.net>
;;; Copyright © 2015, 2016, 2018 Mathieu Lirzin <mthl@gnu.org>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2022 jgart <jgart@dismail.de>
;;;
;;; This file is part of GNU Mcron.
;;;
@@ -45,7 +46,7 @@ standard input), or use all the files in ~/.config/cron (or
the deprecated
-l, --log Write log messages to standard output
--log-format=FMT (ice-9 format) format string for log messages
--date-format=FMT (srfi srfi-19) date format string for log messages
- -?, --help Give this help list
+ -h, --help Give this help list
-V, --version Print program version
Mandatory or optional arguments to long options are also mandatory or optional
@@ -126,7 +127,7 @@ directory. Double-check the folder and file permissions and
syntax."))))
(log (single-char #\l) (value #f))
(log-format (value #t) (predicate ,validate-log-format))
(date-format (value #t) (predicate ,validate-date-format))
- (help (single-char #\?))
+ (help (single-char #\h))
(version (single-char #\V))))))
(cond ((option-ref options 'help #f) (show-help) (exit 0))
--
2.38.1
- [PATCH] Give mcron the -h short option instead of -?.,
jgart <=