diff options
author | Omar Polo <op@omarpolo.com> | 2022-09-08 21:34:29 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2022-09-08 21:34:29 +0000 |
commit | aae8f6bf2b6be18c8bb4fc46c2df679110fe9d96 (patch) | |
tree | 69a40c5956d65168894b8a6d2bdb04e3887bfd8b /gmid.8 | |
parent | 3eabd37fe7586fca2ca5f83411849ff7dd4cebd2 (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.8 | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -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 |