Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update topics/key-specs.md
Co-authored-by: Itamar Haber <[email protected]>
  • Loading branch information
oranagra and itamarhaber authored Feb 8, 2022
commit e9ea7c13fc6e444a3b366dc2b39c2a2b457c5540
7 changes: 4 additions & 3 deletions topics/key-specs.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,10 @@ We don't expect the addition of such commands in the future.

### variable_flags

In some commands the flags for the same key name argument can depend on other arguments.
For example the SET command has a GET argument, without the GET argument, SET is a write-only command, but with it, it becomes read+write.
When this flag is present, it means that the flags in the key-spec will cover all options, but depending on some arguments, some flags can be removed or changed.
In some commands, the flags for the same key name argument can depend on other arguments.
For example, consider the `SET` command and its optional _GET_ argument.
Without the _GET_ argument, `SET` is write-only, but it becomes a read and write command with it.
When this flag is present, it means that the key specification flags cover all possible options, but the effective flags depend on other arguments.

## Examples

Expand Down