-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
memcached-tool: add -u flag to unescape special chars in keys names
The "lru_crawler metadump all" command called by "keys" option escapes unsafe special chars with corresponding %xx codes. For example, a key named "keywith+" will be shown in "memcached-tool keys" as: key=keywith%2B exp=... la=... cas=... But in some cases in can be useful to have the original key name printed as-is. This commit adds a "-u" flag to do the unescaping of lru_crawler output before displaying it.
- Loading branch information
Showing
1 changed file
with
23 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters