2011-05-25 19:43:45

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: [PATCH 3/3 v2] Improve usage documentation for some options

From: Luiz Augusto von Dentz <[email protected]>

---
src/main.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/main.c b/src/main.c
index e1ce442..bb2d403 100644
--- a/src/main.c
+++ b/src/main.c
@@ -100,13 +100,17 @@ static GOptionEntry options[] = {
G_OPTION_ARG_CALLBACK, parse_debug,
"Enable debug information output", "DEBUG" },
{ "root", 'r', 0, G_OPTION_ARG_STRING, &option_root,
- "Specify root folder location", "PATH" },
+ "Specify root folder location. Both absolute "
+ "and relative can be use, but relative paths "
+ "are assume to be relative to user $HOME "
+ "folder", "PATH" },
{ "root-setup", 'S', 0, G_OPTION_ARG_STRING, &option_root_setup,
"Root folder setup script", "SCRIPT" },
{ "symlinks", 'l', 0, G_OPTION_ARG_NONE, &option_symlinks,
"Enable symlinks on root folder" },
{ "capability", 'c', 0, G_OPTION_ARG_STRING, &option_capability,
- "Specify capability file", "FILE" },
+ "Specify capability file, use '!' mark for "
+ "scripts", "FILE" },
{ "auto-accept", 'a', 0, G_OPTION_ARG_NONE, &option_autoaccept,
"Automatically accept push requests" },
{ "plugin", 'p', 0, G_OPTION_ARG_STRING, &option_plugin,
--
1.7.5.1



2011-05-25 20:48:33

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: [PATCH 3/3 v2] Improve usage documentation for some options

Hi,

On Wed, May 25, 2011 at 11:43 PM, Daniele Forsi <[email protected]> wrote:
> 2011/5/25 Luiz Augusto von Dentz:
>
>> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? "Specify root folder location. Both absolute "
>> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? "and relative can be use, but relative paths "
>
> past participle: s/use/used/
>
>> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? "are assume to be relative to user $HOME "
>
> s/assume/assumed/

Well I guess documentation is not really my best, thanks anyway v3 is on the go.


--
Luiz Augusto von Dentz
Computer Engineer

2011-05-25 20:43:00

by Daniele Forsi

[permalink] [raw]
Subject: Re: [PATCH 3/3 v2] Improve usage documentation for some options

2011/5/25 Luiz Augusto von Dentz:

> + "Specify root folder location. Both absolute "
> + "and relative can be use, but relative paths "

past participle: s/use/used/

> + "are assume to be relative to user $HOME "

s/assume/assumed/

--
Daniele Forsi