Skip to content

Commit efdde18

Browse files
authored
DEV: (cmds) correct some command railroad diagrams (#2515)
1 parent fa2712c commit efdde18

File tree

6 files changed

+71
-76
lines changed

6 files changed

+71
-76
lines changed

content/commands/bitop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ linkTitle: BITOP
7979
railroad_diagram: /images/railroad/bitop.svg
8080
since: 2.6.0
8181
summary: Performs bitwise operations on multiple strings, and stores the result.
82-
syntax_fmt: BITOP <AND | OR | XOR | NOT> destkey key [key ...]
82+
syntax_fmt: BITOP <AND | OR | XOR | NOT | DIFF | DIFF1 | ANDOR | ONE> destkey key [key ...]
8383
syntax_str: destkey key [key ...]
8484
title: BITOP
8585
---

content/commands/ts.alter.md

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,7 @@ arguments:
3737
optional: true
3838
token: DUPLICATE_POLICY
3939
type: oneof
40-
- arguments:
41-
- name: ignoreMaxTimediff
42-
type: integer
43-
- name: ignoreMaxValDiff
44-
type: double
45-
name: ignore
46-
optional: true
47-
token: IGNORE
48-
type: block
40+
4941
- arguments:
5042
- name: label
5143
type: string
@@ -79,14 +71,11 @@ stack_path: docs/data-types/timeseries
7971
summary: Update the retention, chunk size, duplicate policy, and labels of an existing
8072
time series
8173
syntax: "TS.ALTER key \n [RETENTION retentionPeriod] \n [CHUNK_SIZE size] \n [DUPLICATE_POLICY\
82-
\ policy] \n [IGNORE ignoreMaxTimediff ignoreMaxValDiff] \n [LABELS [label value\
83-
\ ...]]\n"
74+
\ policy] \n [LABELS [label value ...]]\n"
8475
syntax_fmt: "TS.ALTER key [RETENTION\_retentionPeriod] [CHUNK_SIZE\_size]\n [DUPLICATE_POLICY\_\
85-
<BLOCK | FIRST | LAST | MIN | MAX | SUM>]\n [IGNORE\_ignoreMaxTimediff ignoreMaxValDiff]\
86-
\ [LABELS\_label value\n [label value ...]]"
76+
<BLOCK | FIRST | LAST | MIN | MAX | SUM>] [LABELS\_label value\n [label value ...]]"
8777
syntax_str: "[RETENTION\_retentionPeriod] [CHUNK_SIZE\_size] [DUPLICATE_POLICY\_<BLOCK\
88-
\ | FIRST | LAST | MIN | MAX | SUM>] [IGNORE\_ignoreMaxTimediff ignoreMaxValDiff]\
89-
\ [LABELS\_label value [label value ...]]"
78+
\ | FIRST | LAST | MIN | MAX | SUM>] [LABELS\_label value [label value ...]]"
9079
title: TS.ALTER
9180
---
9281

@@ -120,10 +109,6 @@ is the initial allocation size, in bytes, for the data part of each new chunk. A
120109
is policy for handling multiple samples with identical timestamps. See `DUPLICATE_POLICY` in [`TS.CREATE`]({{< relref "commands/ts.create/" >}}).
121110
</details>
122111

123-
<details open><summary><code>IGNORE ignoreMaxTimediff ignoreMaxValDiff</code></summary>
124-
125-
is the policy for handling duplicate samples. See `IGNORE` in [`TS.CREATE`]({{< relref "commands/ts.create/" >}}).
126-
</details>
127112

128113
<details open><summary><code>LABELS [{label value}...]</code></summary>
129114

static/images/railroad/bitop.svg

Lines changed: 15 additions & 11 deletions
Loading

static/images/railroad/ts.alter.svg

Lines changed: 8 additions & 14 deletions
Loading

0 commit comments

Comments
 (0)