From 8449110c67b71f87784169c1d313bbf0857c848a Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 22 Jan 2019 23:35:33 -0800 Subject: [PATCH] Added manfile --- doc/nowopen.1 | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 doc/nowopen.1 diff --git a/doc/nowopen.1 b/doc/nowopen.1 new file mode 100644 index 0000000..e0e2c4a --- /dev/null +++ b/doc/nowopen.1 @@ -0,0 +1,34 @@ +.\" Manpage for nowopen. +.\" Contact bruce@bruce-hill.com to correct errors or typos. +.TH man 8 "5 January 2019" "1.0" "nowopen man page" +.SH NAME +nowopen \- Display which businesses are now open. +.SH SYNOPSIS +\fBnowopen\fR [ \fI-p\fR ] [ \fI--help\fR ] [ \fItags...\fR ] +.SH DESCRIPTION +\fBnowopen\fR will display currently open businesses and how long until they +close. It uses data from either \fB~/.local/share/nowopen/businesshours\fR +or \fB~/.businesshours\fR. + +.SH OPTIONS +.TP +.B \-p +Display output in plain text to stdout instead of using a temporary display +with color. +.TP +.B \--help +Print the command line usage. +.TP +.B tags +If provided, only show business hours of places that match one of the provided +tags (prefix matching is used). + +.SH EXAMPLES +.TP +.B nowopen -p pizza +.TP +.B output: +Jimmy Pesto's Pizzeria: 9:14 left + +.SH AUTHOR +Bruce Hill (bruce@bruce-hill.com)