Skip to content

Commit

Permalink
amending client help command
Browse files Browse the repository at this point in the history
Signed-off-by: Sarthak Aggarwal <[email protected]>
  • Loading branch information
sarthakaggarwal97 committed Jan 21, 2025
1 parent 49c3a95 commit 3cf9c8c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/networking.c
Original file line number Diff line number Diff line change
Expand Up @@ -3866,6 +3866,16 @@ void clientHelpCommand(client *c) {
" Kill connections subscribed to a matching subscribed channel.",
" * SUBSCRIBED-SHARD-CHANNEL <subscribed-shard-channel>",
" Kill connections subscribed to a matching subscribe shard channel.",
" * LIB-NAME <library-name>",
" Kill connections with the specified library name.",
" * LIB-VER <library-version>",
" Kill connections with the specified library version.",
" * TOT-NET-IN <bytes>",
" Kill connections with total network input greater than or equal to the specified value.",
" * TOT-NET-OUT <bytes>",
" Kill connections with total network output greater than or equal to the specified value.",
" * DB <db-id>",
" Kill connections currently operating on the specified database ID.",
"LIST [options ...]",
" Return information about client connections. Options:",
" * TYPE (NORMAL|PRIMARY|REPLICA|PUBSUB)",
Expand Down Expand Up @@ -3894,6 +3904,16 @@ void clientHelpCommand(client *c) {
" Return clients subscribed to the specified subscribed-channel.",
" * SUBSCRIBED-SHARD-CHANNEL <shard-subscribed-channel>",
" Return clients subscribed to the specified subscribe shard channel.",
" * LIB-NAME <lib-name>",
" Return clients with the specified lib name.",
" * LIB-VER <lib-version>",
" Return clients with the specified lib version.",
" * TOT-NET-IN <bytes>",
" Return clients with total network input greater than or equal to the specified value.",
" * TOT-NET-OUT <bytes>",
" Return clients with total network output greater than or equal to the specified value.",
" * DB <db-id>",
" Return clients currently operating on the specified database ID.",
"UNPAUSE",
" Stop the current client pause, resuming traffic.",
"PAUSE <timeout> [WRITE|ALL]",
Expand Down

0 comments on commit 3cf9c8c

Please sign in to comment.