public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jturney@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin] Cygwin: Convert gmondump and profiler synopses to <cmdsynopsis>
Date: Wed, 28 Jul 2021 14:21:28 +0000 (GMT)	[thread overview]
Message-ID: <20210728142128.25FDB385AC2F@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=d930fbb6ae9c5f3af2cddae275347f2dc5d58310

commit d930fbb6ae9c5f3af2cddae275347f2dc5d58310
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Wed Jul 21 15:00:49 2021 +0100

    Cygwin: Convert gmondump and profiler synopses to <cmdsynopsis>
    
    Convert gmondump and profiler synopses to <cmdsynopsis>, since
    addition of these crossed with e6b667f1.

Diff:
---
 winsup/doc/utils.xml | 39 ++++++++++++++++++++++++++++++++-------
 1 file changed, 32 insertions(+), 7 deletions(-)

diff --git a/winsup/doc/utils.xml b/winsup/doc/utils.xml
index 0b7b5d0ea..659541f00 100644
--- a/winsup/doc/utils.xml
+++ b/winsup/doc/utils.xml
@@ -806,9 +806,18 @@ line separates the ACLs for each file.
     </refnamediv>
 
     <refsynopsisdiv>
-    <screen>
-gmondump [OPTION]... FILENAME...
-    </screen>
+      <cmdsynopsis>
+	<command>gmondump</command>
+	<arg>-v</arg>
+	<arg rep="repeat">FILENAME</arg>
+      </cmdsynopsis>
+      <cmdsynopsis>
+	<command>gmondump</command>
+	<group choice="plain">
+	  <arg choice="plain">-h</arg>
+	  <arg choice="plain">-V</arg>
+	</group>
+      </cmdsynopsis>
     </refsynopsisdiv>
 
     <refsect1 id="gmondump-options">
@@ -2190,10 +2199,26 @@ specifying an empty password.
     </refnamediv>
 
     <refsynopsisdiv>
-    <screen>
-profiler [OPTION]... PROGRAM [ARG]...
-profiler [OPTION]... -p PID
-    </screen>
+      <cmdsynopsis>
+	<command>profiler</command>
+	<arg>-defw</arg>
+	<arg>-o <replaceable>FILENAME</replaceable></arg>
+	<arg>-s <replaceable>N</replaceable></arg>
+	<group choice="plain">
+	  <arg choice="plain">
+	    <arg choice="plain"><replaceable>PROGRAM</replaceable></arg>
+	    <arg rep="repeat" choice="plain"><replaceable>ARG</replaceable></arg>
+	  </arg>
+	  <arg choice="plain">-p <replaceable>PID</replaceable></arg>
+	</group>
+      </cmdsynopsis>
+      <cmdsynopsis>
+	<command>profiler</command>
+	<group choice="plain">
+	  <arg choice="plain">-h</arg>
+	  <arg choice="plain">-V</arg>
+	</group>
+      </cmdsynopsis>
     </refsynopsisdiv>
 
     <refsect1 id="profiler-options">


                 reply	other threads:[~2021-07-28 14:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210728142128.25FDB385AC2F@sourceware.org \
    --to=jturney@sourceware.org \
    --cc=cygwin-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).