Add a configtest flag (-n).

based on a diff from Sascha Paunovic.
This commit is contained in:
okan
2019-02-25 18:07:48 +00:00
parent a5ba9aa9da
commit cd4be1c17a
2 changed files with 16 additions and 5 deletions

5
cwm.1
View File

@@ -23,7 +23,7 @@
.Sh SYNOPSIS
.\" For a program: program [-abc] file ...
.Nm cwm
.Op Fl v
.Op Fl nv
.Op Fl c Ar file
.Op Fl d Ar display
.Sh DESCRIPTION
@@ -48,6 +48,9 @@ however,
will continue to process the rest of the configuration file.
.It Fl d Ar display
Specify the display to use.
.It Fl n
Configtest mode.
Only check the configuration file for validity.
.It Fl v
Verbose mode.
Multiple