]
Vratislav Marek closed WFCORE-4293.
-----------------------------------
Resolution: Won't Do
It's not bug
Command embed-server unrecognized arguments --jboss-home but in help
it still a valid argument
----------------------------------------------------------------------------------------------
Key: WFCORE-4293
URL:
https://issues.jboss.org/browse/WFCORE-4293
Project: WildFly Core
Issue Type: Bug
Components: CLI
Affects Versions: 7.0.0.Final, 8.0.0.Beta3
Reporter: Vratislav Marek
Assignee: Jean-Francois Denise
Priority: Major
Command "_embed-server_" unrecognize argument "_--jboss-home_".
{code:java}
[disconnected /] embed-server --jboss-home=/tmp/2019-01-25/WFCORE-1187/firstLog
Unrecognized arguments: [--jboss-home]
{code}
{code:java}
[disconnected /] embed-server
--jboss-home="/tmp/2019-01-25/WFCORE-1187/firstLog"
Unrecognized arguments: [--jboss-home]
{code}
But in command help is written like a valid argument.
{code:java}
[disconnected /] help embed-server
SYNOPSIS
embed-server [--admin-only=true|false]
[-c=config_file || --server-config=config_file]
[--empty-config --remove-existing-config]
[--jboss-home=rootdir]
[--stdout=discard|echo]
DESCRIPTION
Launches a standalone server embedded in the CLI process.
ARGUMENTS
...
--jboss-home - Filesystem path pointing to the root directory
of the installation from which the embedded server
should run. Only available if the CLI itself
is not running in a modular classloading environment.
In a non-modular classloading environment, if this
option is not specified, the value of the
environment variable JBOSS_HOME will be used.
Must be specified if the environment variable
JBOSS_HOME is not set.In a modular classloading
environment it is assumed the CLI is running from
the server installation itself and the JBOSS_HOME
environment variable must be set.
...
{code}