aboutsummaryrefslogtreecommitdiff
path: root/gmid.8
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-09-08 21:34:29 +0000
committerOmar Polo <op@omarpolo.com>2022-09-08 21:34:29 +0000
commitaae8f6bf2b6be18c8bb4fc46c2df679110fe9d96 (patch)
tree69a40c5956d65168894b8a6d2bdb04e3887bfd8b /gmid.8
parent3eabd37fe7586fca2ca5f83411849ff7dd4cebd2 (diff)
change the flags to be consistent with other OpenBSD daemons
-d is `debug' (run in the foreground) -f to load the configuration file adjust regress and contrib accordingly
Diffstat (limited to 'gmid.8')
-rw-r--r--gmid.817
1 files changed, 9 insertions, 8 deletions
diff --git a/gmid.8 b/gmid.8
index f1581ce..91cbbbc 100644
--- a/gmid.8
+++ b/gmid.8
@@ -20,9 +20,9 @@
.Sh SYNOPSIS
.Nm
.Bk -words
-.Op Fl fhnVv
-.Op Fl c Ar config
+.Op Fl dhnVv
.Op Fl D Ar macro Ns = Ns Ar value
+.Op Fl f Ar config
.Op Fl P Ar pidfile
.Ek
.Sh DESCRIPTION
@@ -38,10 +38,6 @@ rereads the configuration file when it receives
.Pp
The options are as follows:
.Bl -tag -width 14m
-.It Fl c Ar config
-Specifies the configuration file.
-The default is
-.Pa /etc/gmid.conf .
.It Fl D Ar macro Ns = Ns Ar value
Define
.Ar macro
@@ -51,8 +47,13 @@ on the command line.
Overrides the definition of
.Ar macro
in the config file if present.
-.It Fl f
-Stays and logs on the foreground.
+.It Fl d
+Debug mode.
+Do not daemonize and log to stderr.
+.It Fl f Ar config
+Specifies the configuration file.
+The default is
+.Pa /etc/gmid.conf .
.It Fl h , Fl -help
Print the usage and exit.
.It Fl n