mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-01 07:00:11 +01:00
dbus-launch: align document
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66068
This commit is contained in:
parent
973684f022
commit
8aa07c7e48
2 changed files with 22 additions and 4 deletions
|
|
@ -20,10 +20,14 @@
|
|||
<!-- body begins here -->
|
||||
<refsynopsisdiv id='synopsis'>
|
||||
<cmdsynopsis>
|
||||
<command>dbus-launch</command> <arg choice='opt'>--version </arg>
|
||||
<command>dbus-launch</command>
|
||||
<arg choice='opt'>--version </arg>
|
||||
<arg choice='opt'>--help </arg>
|
||||
<arg choice='opt'>--sh-syntax </arg>
|
||||
<arg choice='opt'>--csh-syntax </arg>
|
||||
<arg choice='opt'>--auto-syntax </arg>
|
||||
<arg choice='opt'>--binary-syntax </arg>
|
||||
<arg choice='opt'>--close-stderr </arg>
|
||||
<arg choice='opt'>--exit-with-session </arg>
|
||||
<arg choice='opt'>--autolaunch=<replaceable>MACHINEID</replaceable></arg>
|
||||
<arg choice='opt'>--config-file=<replaceable>FILENAME</replaceable></arg>
|
||||
|
|
@ -175,8 +179,12 @@ no real reason to use it outside of the libdbus implementation anyhow.</para>
|
|||
<listitem>
|
||||
<para>Choose --csh-syntax or --sh-syntax based on the SHELL environment variable.</para>
|
||||
|
||||
<para><option>--binary-syntax</option>
|
||||
Write to stdout a nul-terminated bus address, then the bus PID as a
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><option>--binary-syntax</option></term>
|
||||
<listitem>
|
||||
<para>Write to stdout a nul-terminated bus address, then the bus PID as a
|
||||
binary integer of size sizeof(pid_t), then the bus X window ID as a
|
||||
binary integer of size sizeof(long). Integers are in the machine's
|
||||
byte order, not network byte order or any other canonical byte order.</para>
|
||||
|
|
@ -242,6 +250,13 @@ use it manually. It may change in the future.</para>
|
|||
<listitem>
|
||||
<para>Print the version of dbus-launch</para>
|
||||
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><option>--help</option></term>
|
||||
<listitem>
|
||||
<para>Print the help info of dbus-launch</para>
|
||||
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
|
|
|||
|
|
@ -182,7 +182,10 @@ verbose (const char *format,
|
|||
static void
|
||||
usage (int ecode)
|
||||
{
|
||||
fprintf (stderr, "dbus-launch [--version] [--help] [--sh-syntax] [--csh-syntax] [--auto-syntax] [--exit-with-session]\n");
|
||||
fprintf (stderr, "dbus-launch [--version] [--help] [--sh-syntax]"
|
||||
" [--csh-syntax] [--auto-syntax] [--binary-syntax] [--close-stderr]"
|
||||
" [--exit-with-session] [--autolaunch=MACHINEID]"
|
||||
" [--config-file=FILENAME] [PROGRAM] [ARGS...]\n");
|
||||
exit (ecode);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue