Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231279 - net-misc/memcached-1.2.5: typo in the help output of memcached-tool
Summary: net-misc/memcached-1.2.5: typo in the help output of memcached-tool
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-09 10:06 UTC by Andrew Smith
Modified: 2008-07-13 19:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Simple patch to correct the typo (memcached-typo.diff,617 bytes, patch)
2008-07-09 10:06 UTC, Andrew Smith
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Smith 2008-07-09 10:06:28 UTC
The help output for memcached-tool has an incorrectly spelled 'time'.

Reproducible: Always

Steps to Reproduce:
1. memcached-tool
2. check output
3.

Actual Results:  
Usage: memcached-tool <host[:port]> [mode]

       memcached-tool 10.0.0.5:11211 display    # shows slabs
       memcached-tool 10.0.0.5:11211            # same.  (default is display)
       memcached-tool 10.0.0.5:11211 stats      # shows general stats
       memcached-tool 10.0.0.5:11211 move 7 9   # takes 1MB slab from class #7
                                                # to class #9.

You can only move slabs around once memory is totally allocated, and only
once the target class is full.  (So you can't move from #6 to #9 and #7
to #9 at the same _itme_, since you'd have to wait for #9 to fill from
the first reassigned page)

Expected Results:  
Usage: memcached-tool <host[:port]> [mode]

       memcached-tool 10.0.0.5:11211 display    # shows slabs
       memcached-tool 10.0.0.5:11211            # same.  (default is display)
       memcached-tool 10.0.0.5:11211 stats      # shows general stats
       memcached-tool 10.0.0.5:11211 move 7 9   # takes 1MB slab from class #7
                                                # to class #9.

You can only move slabs around once memory is totally allocated, and only
once the target class is full.  (So you can't move from #6 to #9 and #7
to #9 at the same _time_, since you'd have to wait for #9 to fill from
the first reassigned page)

Emphasis mine
Comment 1 Andrew Smith 2008-07-09 10:06:55 UTC
Created attachment 159946 [details, diff]
Simple patch to correct the typo
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-07-13 19:10:45 UTC
it's just a typo. take it to upstream.