You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by mc...@apache.org on 2012/11/30 16:24:01 UTC

svn commit: r1415687 - in /qpid/proton/trunk/proton-c: CMakeLists.txt docs/man/ docs/man/CMakeLists.txt docs/man/proton.1

Author: mcpierce
Date: Fri Nov 30 15:24:00 2012
New Revision: 1415687

URL: http://svn.apache.org/viewvc?rev=1415687&view=rev
Log:
NO-JIRA: Created a manpage for the proton executable.

Added:
    qpid/proton/trunk/proton-c/docs/man/
    qpid/proton/trunk/proton-c/docs/man/CMakeLists.txt
    qpid/proton/trunk/proton-c/docs/man/proton.1
Modified:
    qpid/proton/trunk/proton-c/CMakeLists.txt

Modified: qpid/proton/trunk/proton-c/CMakeLists.txt
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/CMakeLists.txt?rev=1415687&r1=1415686&r2=1415687&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/CMakeLists.txt (original)
+++ qpid/proton/trunk/proton-c/CMakeLists.txt Fri Nov 30 15:24:00 2012
@@ -51,6 +51,7 @@ set (INCLUDE_INSTALL_DIR include CACHE P
 set (LIB_INSTALL_DIR "lib${LIB_SUFFIX}" CACHE PATH "Library object file directory")
 set (SYSCONF_INSTALL_DIR etc CACHE PATH "System read only configuration directory")
 set (SHARE_INSTALL_DIR share CACHE PATH "Shared read only data directory")
+set (MAN_INSTALL_DIR man CACHE PATH "Manpage directory")
 
 set (PROTON_SHARE ${SHARE_INSTALL_DIR}/proton-${PN_VERSION})
 
@@ -135,6 +136,7 @@ if (CMAKE_COMPILER_IS_GNUCC)
 endif (CMAKE_COMPILER_IS_GNUCC)
 
 add_subdirectory(docs/api)
+add_subdirectory(docs/man)
 add_subdirectory(examples/messenger/c)
 
 set (qpid-proton-platform

Added: qpid/proton/trunk/proton-c/docs/man/CMakeLists.txt
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/docs/man/CMakeLists.txt?rev=1415687&view=auto
==============================================================================
--- qpid/proton/trunk/proton-c/docs/man/CMakeLists.txt (added)
+++ qpid/proton/trunk/proton-c/docs/man/CMakeLists.txt Fri Nov 30 15:24:00 2012
@@ -0,0 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+INSTALL (FILES proton.1
+         DESTINATION ${MAN_INSTALL_DIR}/man1)
+

Added: qpid/proton/trunk/proton-c/docs/man/proton.1
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/docs/man/proton.1?rev=1415687&view=auto
==============================================================================
--- qpid/proton/trunk/proton-c/docs/man/proton.1 (added)
+++ qpid/proton/trunk/proton-c/docs/man/proton.1 Fri Nov 30 15:24:00 2012
@@ -0,0 +1,36 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.40.12.
+.TH PROTON: "1" "November 2012" "proton" "proton man page"
+.SH NAME
+proton
+.SH SYNOPSIS
+.B proton
+[\fI-h\fR] [\fI-c \fR[\fIuser\fR[\fI:password\fR]\fI@\fR]\fIhost\fR[\fI:port\fR]] [\fI-a <address>\fR] [\fI-m <sasl-mech>\fR]
+.SH DESCRIPTION
+.TP
+\fB\-c\fR
+The connect url.
+.TP
+\fB\-a\fR
+The AMQP address.
+.TP
+\fB\-m\fR
+The SASL mechanism.
+.TP
+\fB\-n\fR
+The number of messages.
+.TP
+\fB\-s\fR
+Message size.
+.TP
+\fB\-u\fR
+Upper flow threshold.
+.TP
+\fB\-l\fR
+Lower flow threshold.
+.TP
+\fB\-q\fR
+Supress printouts.
+.TP
+\fB\-h\fR
+Print this help.
+.PP



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org