accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-2742) History command incorrectly numbers commands
Date Tue, 29 Apr 2014 03:23:15 GMT


ASF subversion and git services commented on ACCUMULO-2742:

Commit 1f7dd2d53ffebb5bac629f61caffa70c50526730 in accumulo's branch refs/heads/1.6.0-SNAPSHOT
from []
[;h=1f7dd2d ]

ACCUMULO-2742 offset history command by one

The history entries returned by the history command are 0-indexed,
while the history expansion is 1-indexed. We need to offset the index
when we print it so that users can accurately use event expansion.

> History command incorrectly numbers commands
> --------------------------------------------
>                 Key: ACCUMULO-2742
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 1.6.0
>            Reporter: Mike Drob
>            Assignee: Mike Drob
>             Fix For: 1.6.1, 1.7.0
> When you use the history command, it will provide you with a list of previous commands
that have been executed, each with a command number. However, if you try to use history expansion
by number to invoke one of those commands, you will be off by one.
> I think this is because the history command in added to the list after it shows you the
list, and pushes everything else up by one. Uncertain if this is something we do wrong, or
if this is an upstream JLine bug.

This message was sent by Atlassian JIRA

View raw message