Skip to content

Commit ad436e6

Browse files
dahliacodex
andcommitted
Correct lookup docs for traverse/recurse multi-argument behavior
Update CLI documentation to match current implementation that accepts multiple inputs in traverse/recurse flows. Ref: fedify-dev#608 (comment) Co-Authored-By: OpenAI Codex <codex@openai.com>
1 parent 19c8cc2 commit ad436e6

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

docs/cli.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -479,12 +479,6 @@ As you can see, the outputs are separated by `----` by default. You can change
479479
the separator by using the [`-s`/`--separator`](#s-separator-output-separator)
480480
option.
481481

482-
> [!NOTE]
483-
> The `fedify lookup` command cannot take multiple argument if
484-
> [`-t`/`--traverse`](#t-traverse-traverse-the-collection) or
485-
> [`--recurse`](#recurse-recurse-through-object-relationships) option is
486-
> turned on.
487-
488482
### `-t`/`--traverse`: Traverse the collection
489483

490484
*This option is available since Fedify 0.14.0.*
@@ -501,7 +495,7 @@ The difference between with and without the `-t`/`--traverse` option is that
501495
the former will output the objects in the collection, while the latter will
502496
output the collection object itself.
503497

504-
This option only works with a single argument, and it has to be a collection.
498+
When this option is enabled, each argument has to resolve to a collection.
505499

506500
### `--recurse`: Recurse through object relationships
507501

0 commit comments

Comments
 (0)