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

Vyacheslav Koptilin updated IGNITE-17266:
-----------------------------------------
    Labels: ignite-3 ignite-3-cli-tool  (was: ignite-3-cli-tool)

> No exit codes from cli
> ----------------------
>
>                 Key: IGNITE-17266
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17266
>             Project: Ignite
>          Issue Type: Bug
>          Components: control.sh
>    Affects Versions: 3.0.0-alpha5
>            Reporter: Alexander Belyak
>            Priority: Major
>              Labels: ignite-3, ignite-3-cli-tool
>
> I expect that ./ignite util returns some meaningful exit codes in case of 
> error:
>  
> {code:java}
> $ ./ignite node stop n2
> Can't find node with namen2
> $ echo $?
> 0
> {code}
> or
>  
> {code:java}
> $ ./ignite node stopp n2
> Unmatched arguments from index 1: 'stopp', 'n2'
> Did you mean: stop or list or start?
> $  echo $?
> 0
> {code}
> Just like the other command-line utils:
> {code:java}
> $ mkdir 
> mkdir: missing operand
> Try 'mkdir --help' for more information.
> $ echo $?
> 1
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to