]
Kabir Khan updated WFCORE-742:
------------------------------
Fix Version/s: 2.0.0.CR7
(was: 2.0.0.CR6)
Unify linux and PowerShell scripts for jboss-cli in printing
environment information
------------------------------------------------------------------------------------
Key: WFCORE-742
URL:
https://issues.jboss.org/browse/WFCORE-742
Project: WildFly Core
Issue Type: Bug
Components: Scripts
Affects Versions: 2.0.0.Alpha3
Reporter: Marek Kopecký
Assignee: Tomaz Cerar
Fix For: 2.0.0.CR7
Powershell script jboss-cli.ps1 prints environment information.
*Steps to Reproduce:*
# .\jboss-cli.ps1
*Actual results:*
{noformat}
=========================================================================
WildFly Bootstrap Environment
JBOSS_HOME: C:\Users\Administrator\playground\7.0.0.DR3\jboss-eap-7.0
JBOSS_BASE_DIR: C:\Users\Administrator\playground\7.0.0.DR3\jboss-eap-7.0\standalone
JAVA: java
JAVA_OPTS: -Xms64M -Xmx512M -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.ne
t.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true
-Djboss.modules.system.pkgs=org.jboss.byteman
JBOSS_MODULEPATH: C:\Users\Administrator\playground\7.0.0.DR3\jboss-eap-7.0\modules
=========================================================================
10:22:33,569 INFO [org.jboss.modules] (main) JBoss Modules version 1.4.3.Final
10:22:33,959 INFO [org.jboss.as.cli.CommandContext] (main) You are disconnected at the
moment. Type 'connect' to connec
t to the server or 'help' for the list of supported commands.
You are disconnected at the moment. Type 'connect' to connect to the server or
'help' for the list of supported commands
.
[disconnected /]
{noformat}
*Expected results:*
{noformat}
You are disconnected at the moment. Type 'connect' to connect to the server or
'help' for the list of supported commands.
[disconnected /]
{noformat}
\\
\\
".\jboss-cli.ps1 --help" show too much logging information:
*Steps to Reproduce:*
# .\jboss-cli.ps1 --help
*Actual results:*
{noformat}
...
10:29:18,212 INFO [org.jboss.as.cli.CommandContext] (main) Usage:
Usage:
10:29:18,215 INFO [org.jboss.as.cli.CommandContext] (main)
10:29:18,216 INFO [org.jboss.as.cli.CommandContext] (main) jboss-cli.sh/jboss-cli.bat
[--help] [--version] [--controller=host:port]
jboss-cli.sh/jboss-cli.bat [--help] [--version] [--controller=host:port]
...
{noformat}
*Expected results:*
{noformat}
Usage:
jboss-cli.sh/jboss-cli.bat [--help] [--version] [--controller=host:port]
...
{noformat}