diff --git a/doc/dbus-launch.1.xml.in b/doc/dbus-launch.1.xml.in index 727495b7..31dd6eac 100644 --- a/doc/dbus-launch.1.xml.in +++ b/doc/dbus-launch.1.xml.in @@ -20,10 +20,14 @@ - dbus-launch --version + dbus-launch + --version + --help --sh-syntax --csh-syntax --auto-syntax + --binary-syntax + --close-stderr --exit-with-session --autolaunch=MACHINEID --config-file=FILENAME @@ -175,8 +179,12 @@ no real reason to use it outside of the libdbus implementation anyhow. Choose --csh-syntax or --sh-syntax based on the SHELL environment variable. - -Write to stdout a nul-terminated bus address, then the bus PID as a + + + + + +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. @@ -242,6 +250,13 @@ use it manually. It may change in the future. Print the version of dbus-launch + + + + + +Print the help info of dbus-launch + diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c index 86d325f9..99143a62 100644 --- a/tools/dbus-launch.c +++ b/tools/dbus-launch.c @@ -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); }