Skip to content

Commit 0d9b2a9

Browse files
committed
Address nits
1 parent 920ba0d commit 0d9b2a9

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

libs/server/ArgSlice/ArgSliceUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public static unsafe ArgSlice Unescape(ArgSlice slice, bool acceptUppercaseEscap
6363

6464
// It's a quoted context, so we need to check for escapes.
6565

66-
// To short for escaping
66+
// Too short for escaping
6767
if (slice.Length <= 3)
6868
{
6969
return new ArgSlice(slice.ptr + 1, slice.Length - 2);

libs/server/Servers/GarnetServerOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ public class GarnetServerOptions : ServerOptions
428428
public ConnectionProtectionOption EnableDebugCommand;
429429

430430
/// <summary>
431-
/// Enables the DEBUG command
431+
/// Enables parsing inline commands
432432
/// </summary>
433433
public ConnectionProtectionOption EnableInlineCommands;
434434

website/docs/dev/onboarding.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ However, telnet does not decode the responses, you'll see the raw RESP serializa
6767
On Windows, telnet defaults to localecho off, you won't see your typing until after first command is sent.
6868
Alternatively, you can type Ctrl-] followed by Enter, and telnet will start echoing.
6969

70+
Note: By default, Garnet enables inline command parsing only for local connections.
71+
The 'EnableInlineCommands' configuration option can disable it or enable for remote connections too.
72+
7073
```bash
7174
telnet localhost 6379
7275
```

0 commit comments

Comments
 (0)