public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
* [PATCH] Cygwin: Convert gmondump and profiler synposes to <cmdsynposis>
@ 2021-07-27 12:57 Jon Turney
  2021-07-28  8:23 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Turney @ 2021-07-27 12:57 UTC (permalink / raw)
  To: cygwin-patches; +Cc: Jon Turney

Convert gmondump and profiler synposes to <cmdsynposis>, since
addition of these crossed with e6b667f1.
---
 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">
-- 
2.32.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-28  8:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-27 12:57 [PATCH] Cygwin: Convert gmondump and profiler synposes to <cmdsynposis> Jon Turney
2021-07-28  8:23 ` Corinna Vinschen

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).