geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alberto Bustamante Reyes (Jira)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-7253) Wrong behaviour of tab in gfsh when creating disk-store
Date Mon, 30 Sep 2019 13:18:00 GMT

     [ https://issues.apache.org/jira/browse/GEODE-7253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alberto Bustamante Reyes updated GEODE-7253:
--------------------------------------------
    Priority: Trivial  (was: Major)

> Wrong behaviour of tab in gfsh when creating disk-store
> -------------------------------------------------------
>
>                 Key: GEODE-7253
>                 URL: https://issues.apache.org/jira/browse/GEODE-7253
>             Project: Geode
>          Issue Type: Improvement
>            Reporter: Alberto Bustamante Reyes
>            Priority: Trivial
>
> when trying to create a disk-store in gfsh:
> {code:java}
> gfsh>create disk-store 
> {code}
> if you press tab, the two required options are shown, and "--" is added to the command:
> {code:java}
> gfsh>create disk-store --
> create disk-store --dir    create disk-store --name
> {code}
> Then, if you start with the first option,
> {code:java}
> gfsh>create disk-store --dir
> {code}
> then press tab, and the help is shown:
> {code:java}
> required --dir: Directories where the disk store files will be written, the directories
will be created if they don't exist.  Optionally, directory names may be followed by # and
the maximum number of megabytes that the disk store can use in the directory.  Example: --dir=/data/ds1
--dir=/data/ds2#5000; no default value
> gfsh>create disk-store --dir
> {code}
> But now, if you introduce a value:
> {code:java}
> gfsh>create disk-store --dir=/data/store1
> {code}
> and press tab:
> {code:java}
> required --dir: Directories where the disk store files will be written, the directories
will be created if they don't exist.  Optionally, directory names may be followed by # and
the maximum number of megabytes that the disk store can use in the directory.  Example: --dir=/data/ds1
--dir=/data/ds2#5000; no default value
> gfsh>create disk-store --dir=/data/store1 --name
> {code}
> Although "name" is added to the command, the help shown is from the "dir" option. +Help
from "name" option should be shown+, as it happens when you press tab again:
> {code:java}
> gfsh>create disk-store --dir=/data/store1 --name
> required --name: Name of the disk store to be created.; no default value
> gfsh>create disk-store --dir=/data/store1 --name=cluster_config
> {code}
> (Not sure why "cluster_config" is added as the default disk-store name and if its correct
to do so).
> Other problem is when the first parameter introduced is "name" instead of "dir":
> {code:java}
> gfsh>create disk-store --name=store1
> {code}
> if you press tab...
> {code:java}
> required --name: Name of the disk store to be created.; no default value
> gfsh>create disk-store --name=store1 --allow-force-compaction
> {code}
> It shows the help from "name" and instead of adding "dir", it inserts "allow-force-compaction".
+The command should be completed with "dir".+



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message