diff options
author | Minijackson <minijackson@riseup.net> | 2018-08-02 11:48:49 +0200 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2018-08-02 11:48:49 +0200 |
commit | 80c42b9707c7c44b7379734575c1b82fc97e95bf (patch) | |
tree | b8dd89b0c0bec71effa9a2c5c4c1f44390a15d67 /sinksh/syntax_modules | |
parent | eb4c557efa38673eba773bda6b71a286d0c3c3b1 (diff) | |
download | sink-80c42b9707c7c44b7379734575c1b82fc97e95bf.tar.gz sink-80c42b9707c7c44b7379734575c1b82fc97e95bf.zip |
Explain --reduce better
Diffstat (limited to 'sinksh/syntax_modules')
-rw-r--r-- | sinksh/syntax_modules/sink_list.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sinksh/syntax_modules/sink_list.cpp b/sinksh/syntax_modules/sink_list.cpp index 966548f..c091cd4 100644 --- a/sinksh/syntax_modules/sink_list.cpp +++ b/sinksh/syntax_modules/sink_list.cpp | |||
@@ -52,8 +52,7 @@ Syntax::List syntax() | |||
52 | list.addParameter("id", { .name = "id", .help = "List only the content with the given ID" }); | 52 | list.addParameter("id", { .name = "id", .help = "List only the content with the given ID" }); |
53 | list.addFlag("showall", "Show all properties"); | 53 | list.addFlag("showall", "Show all properties"); |
54 | list.addParameter("show", { .name = "property", .help = "Only show the given property" }); | 54 | list.addParameter("show", { .name = "property", .help = "Only show the given property" }); |
55 | // TODO: what is that? | 55 | list.addParameter("reduce", { .name = "property:$selectorProperty", .help = "Combine the result with the same $property, sorted by $selectorProperty" }); |
56 | list.addParameter("reduce", { .name = "property:$selectorProperty", .help = "Reduce the results" }); | ||
57 | list.addParameter("sort", { .name = "property", .help = "Sort the results according to the given property" }); | 56 | list.addParameter("sort", { .name = "property", .help = "Sort the results according to the given property" }); |
58 | list.addParameter("limit", { .name = "count", .help = "Limit the results" }); | 57 | list.addParameter("limit", { .name = "count", .help = "Limit the results" }); |
59 | 58 | ||