[nemiver/remote-cmdline: 3/14] Better Help for --remote, --solib-prefix et al
- From: Dodji Seketeli <dodji src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver/remote-cmdline: 3/14] Better Help for --remote, --solib-prefix et al
- Date: Mon, 11 Oct 2010 19:06:30 +0000 (UTC)
commit b8f7c5a40a6eb632edf83b5f693e691a1908643b
Author: Dodji Seketeli <dodji seketeli org>
Date: Sun Oct 3 18:32:41 2010 +0200
Better Help for --remote, --solib-prefix et al
* src/main.cc (entries)<remote, solib-prefix>: Add proper help
string specifying that you need to pass "=some-argument" to
--remote and --solib-prefix
(entries)<env, attach, session, log-domains>: Make the string
coming after "=" in the arguments help be more unified.
src/main.cc | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/main.cc b/src/main.cc
index 5732ebe..a14fa0c 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -69,7 +69,7 @@ static GOptionEntry entries[] =
G_OPTION_ARG_STRING,
&gv_env_vars,
_("Set the environment of the program to debug"),
- "\"var0=val0 var1=val1 var2=val2 ...\""
+ "<\"var0=val0 var1=val1 var2=val2 ...\">"
},
{
"attach",
@@ -102,7 +102,7 @@ static GOptionEntry entries[] =
G_OPTION_ARG_INT,
&gv_execute_session,
_("Debug the program that was of session number N"),
- "N"
+ "<N>"
},
{ "last",
0,
@@ -118,7 +118,7 @@ static GOptionEntry entries[] =
G_OPTION_ARG_STRING,
&gv_log_domains,
_("Enable logging domains DOMAINS"),
- "DOMAINS"
+ "<DOMAINS>"
},
{ "log-debugger-output",
0,
@@ -142,8 +142,8 @@ static GOptionEntry entries[] =
0,
G_OPTION_ARG_STRING,
&gv_remote,
- _("Connect to remote target specified by host:port"),
- NULL,
+ _("Connect to remote target specified by HOST:PORT"),
+ "<HOST:PORT|serial-line-path>"
},
{
"solib-prefix",
@@ -153,7 +153,7 @@ static GOptionEntry entries[] =
&gv_solib_prefix,
_("Where to look for shared libraries loaded by the inferior. "
"Use in conjunction with --remote"),
- NULL,
+ "</path/to/prefix>"
},
{ "version",
0,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]