From 0190197e955fd90682f42126c1c1d9f8eadd5dd4 Mon Sep 17 00:00:00 2001
From: Jan-Pascal van Best <janpascal@vanbest.org>
Date: Sat, 23 Jun 2018 16:32:53 +0200
Subject: [PATCH] Added manpage for meyectl

---
 debian/manpages  |  1 +
 debian/meyectl.8 | 53 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)
 create mode 100644 debian/manpages
 create mode 100644 debian/meyectl.8

diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..e99455f
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/meyectl.8
diff --git a/debian/meyectl.8 b/debian/meyectl.8
new file mode 100644
index 0000000..ee7d38f
--- /dev/null
+++ b/debian/meyectl.8
@@ -0,0 +1,53 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.4.
+.TH MEYECTL "8" "June 2018" "meyectl" "System Administration Utilities"
+.SH NAME
+meyectl \- control program for motioneye
+.SH DESCRIPTION
+.PP
+usage: meyectl [command] [\-c CONFIG_FILE] [\-d] [\-h] [\-l] [\-v] [command options...]
+.SS "available commands:"
+.TP
+\fBstartserver\fR
+start the motioneye server
+.TP
+\fBstopserver\fR
+stop the motioneye server
+.TP
+\fBsendmail\fR
+internal command to send an email message when motion is detected
+.TP
+\fBwebhook\fR
+internal command to call a web hook when motion is detected
+.TP
+\fBshell\fR
+start a Python shell in the motioneye environment
+.SS "optional arguments:"
+.TP
+\fB\-c\fR CONFIG_FILE
+use a config file instead of built\-in defaults
+.TP
+\fB\-d\fR
+enable debugging, overriding log level from config file
+.TP
+\fB\-h\fR
+print help and exit
+.TP
+\fB\-l\fR
+log to file instead of standard error
+.TP
+\fB\-v\fR
+print program version and exit
+.SS "optional arguments for the startserver command:"
+.TP
+\fB\-b\fR
+start the server in background (daemonize)
+.SS "positional arguments for the webhook command:"
+.TP
+\fBmethod\fR
+the HTTP method to use
+.TP
+\fBurl\fR
+the URL for the request
+
+.PP
+type "meyectl [command] \fB\-h\fR" for help on a specific command
-- 
2.39.5