From 389f5fd8c6510cb6679ef9cf23661c27af0b925a Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Wed, 1 Sep 2010 21:02:38 -0400 Subject: [PATCH] Renamed the --norecurse LIST option to --no-recurse. --- doc/COMMANDS | 6 +++--- src/commands.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/COMMANDS b/doc/COMMANDS index 3f385507..a4c923d8 100644 --- a/doc/COMMANDS +++ b/doc/COMMANDS @@ -86,10 +86,10 @@ CACHETIMEOUT invalid. OK otherwise. -LIST [--norecurse] [--verbose] [[!]element[[!]element[...]]] +LIST [--no-recurse] [--verbose] [[!]element[[!]element[...]]] If no element path is given then a newline separated list of root elements is returned with the data response. If given, then all reachable elements - for the specified element path are returned unless the --norecurse option + for the specified element path are returned unless the --no-recurse option is specified. If specified, only the child elements of the element path are returned without recursing into grandchildren. Each element in the path is prefixed with the literal '!' character when the element contains @@ -98,7 +98,7 @@ LIST [--norecurse] [--verbose] [[!]element[[!]element[...]]] When the --verbose option is passed then each element path returned in the list will have a single space character followed by either a 0 or 1 appended to it. When 0, the element path has no children, otherwise it - does have children. When used with the --norecurse option this may be + does have children. When used with the --no-recurse option this may be useful to limit the amount of data transferred to the client. diff --git a/src/commands.c b/src/commands.c index f26c0fe5..505b3566 100644 --- a/src/commands.c +++ b/src/commands.c @@ -2024,7 +2024,7 @@ static gint list_command(assuan_context_t ctx, gchar *line) struct element_list_s *elements = NULL; gchar *tmp; struct argv_s *args[] = { - &(struct argv_s) { "norecurse", OPT_NOARG, parse_list_opt_norecurse }, + &(struct argv_s) { "no-recurse", OPT_NOARG, parse_list_opt_norecurse }, &(struct argv_s) { "verbose", OPT_NOARG, parse_list_opt_verbose }, NULL }; -- 2.11.4.GIT