Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man3lua Use 5.2 usage pattern in the synopsis.



details:   https://anonhg.NetBSD.org/src/rev/8199240d5837
branches:  trunk
changeset: 792565:8199240d5837
user:      mbalmer <mbalmer%NetBSD.org@localhost>
date:      Tue Jan 07 21:54:17 2014 +0000

description:
Use 5.2 usage pattern in the synopsis.

diffstat:

 share/man/man3lua/gpio.3lua   |  9 +++++----
 share/man/man3lua/syslog.3lua |  9 +++++----
 2 files changed, 10 insertions(+), 8 deletions(-)

diffs (62 lines):

diff -r 0214a48658d9 -r 8199240d5837 share/man/man3lua/gpio.3lua
--- a/share/man/man3lua/gpio.3lua       Tue Jan 07 21:48:12 2014 +0000
+++ b/share/man/man3lua/gpio.3lua       Tue Jan 07 21:54:17 2014 +0000
@@ -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 <mbalmer%NetBSD.org@localhost>. All rights reserved.
+.\" Copyright (c) 2013, 2014 Marc Balmer <mbalmer%NetBSD.org@localhost>.
+.\" 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)
diff -r 0214a48658d9 -r 8199240d5837 share/man/man3lua/syslog.3lua
--- a/share/man/man3lua/syslog.3lua     Tue Jan 07 21:48:12 2014 +0000
+++ b/share/man/man3lua/syslog.3lua     Tue Jan 07 21:54:17 2014 +0000
@@ -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 <mbalmer%NetBSD.org@localhost>. All rights reserved.
+.\" Copyright (c) 2013, 2014 Marc Balmer <mbalmer%NetBSD.org@localhost>.
+.\" 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)



Home | Main Index | Thread Index | Old Index