Module Name: src
Committed By: mbalmer
Date: Tue Jan 7 21:54:17 UTC 2014
Modified Files:
src/share/man/man3lua: gpio.3lua syslog.3lua
Log Message:
Use 5.2 usage pattern in the synopsis.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man3lua/gpio.3lua
cvs rdiff -u -r1.2 -r1.3 src/share/man/man3lua/syslog.3lua
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man3lua/gpio.3lua
diff -u src/share/man/man3lua/gpio.3lua:1.3 src/share/man/man3lua/gpio.3lua:1.4
--- src/share/man/man3lua/gpio.3lua:1.3 Mon Jan 6 09:25:08 2014
+++ src/share/man/man3lua/gpio.3lua Tue Jan 7 21:54:17 2014
@@ -1,6 +1,7 @@
-.\" $NetBSD: gpio.3lua,v 1.3 2014/01/06 09:25:08 wiz Exp $
+.\" $NetBSD: gpio.3lua,v 1.4 2014/01/07 21:54:17 mbalmer Exp $
.\"
-.\" Copyright (c) 2013 Marc Balmer <[email protected]>. All rights reserved.
+.\" Copyright (c) 2013, 2014 Marc Balmer <[email protected]>.
+.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
@@ -27,7 +28,7 @@
.\" SUCH DAMAGE.
.\"
.\"
-.Dd October 27, 2013
+.Dd Januar 7, 2014
.Dt GPIO 3lua
.Os
.Sh NAME
@@ -36,7 +37,7 @@
.Xr gpio 4
pins from Lua
.Sh SYNOPSIS
-.Cd "require 'gpio'"
+.Cd "local gpio = require 'gpio'"
.Pp
.Bl -tag -width XXXX -compact
.It Dv gpiodev = gpio.open(path)
Index: src/share/man/man3lua/syslog.3lua
diff -u src/share/man/man3lua/syslog.3lua:1.2 src/share/man/man3lua/syslog.3lua:1.3
--- src/share/man/man3lua/syslog.3lua:1.2 Mon Jan 6 09:23:18 2014
+++ src/share/man/man3lua/syslog.3lua Tue Jan 7 21:54:17 2014
@@ -1,6 +1,7 @@
-.\" $NetBSD: syslog.3lua,v 1.2 2014/01/06 09:23:18 wiz Exp $
+.\" $NetBSD: syslog.3lua,v 1.3 2014/01/07 21:54:17 mbalmer Exp $
.\"
-.\" Copyright (c) 2013 Marc Balmer <[email protected]>. All rights reserved.
+.\" Copyright (c) 2013, 2014 Marc Balmer <[email protected]>.
+.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
@@ -27,7 +28,7 @@
.\" SUCH DAMAGE.
.\"
.\"
-.Dd November 13, 2013
+.Dd January 7, 2014
.Dt SYSLOG 3lua
.Os
.Sh NAME
@@ -36,7 +37,7 @@
.Xr syslog 3
functionality from Lua
.Sh SYNOPSIS
-.Cd "require 'syslog'"
+.Cd "local syslog = require 'syslog'"
.Pp
.Bl -tag -width XXXX -compact
.It Dv syslog.openlog(ident, logopt, facility)