[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [goptlib/master] Consistency in line output docs.



commit 8a743664facc676ca9db3b27efe5423e50b40a6c
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Sat Nov 9 07:58:41 2013 -0800

    Consistency in line output docs.
---
 pt.go |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/pt.go b/pt.go
index 8851dfe..b79f08b 100644
--- a/pt.go
+++ b/pt.go
@@ -130,22 +130,23 @@ func doError(keyword string, v ...string) *ptErr {
 	return &ptErr{keyword, v}
 }
 
-// Emit an ENV-ERROR with explanation text. Return the error as a ptErr.
+// Emit an ENV-ERROR line with explanation text. Return the error as a ptErr.
 func EnvError(msg string) error {
 	return doError("ENV-ERROR", msg)
 }
 
-// Emit a VERSION-ERROR with explanation text. Return the error as a ptErr.
+// Emit a VERSION-ERROR line with explanation text. Return the error as a ptErr.
 func VersionError(msg string) error {
 	return doError("VERSION-ERROR", msg)
 }
 
-// Emit a CMETHOD-ERROR with explanation text. Return the error as a ptErr.
+// Emit a CMETHOD-ERROR line with explanation text. Return the error as a ptErr.
 func CmethodError(methodName, msg string) error {
 	return doError("CMETHOD-ERROR", methodName, msg)
 }
 
-// Emit an SMETHOD-ERROR with explanation text. Return the error as a ptErr.
+// Emit an SMETHOD-ERROR line with explanation text. Return the error as a
+// ptErr.
 func SmethodError(methodName, msg string) error {
 	return doError("SMETHOD-ERROR", methodName, msg)
 }

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits