[DAEMON-242] appcd: Global options not displayed on command help
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2018-03-15T03:52:13.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Appc Daemon 1.1.0 |
Components | appcd |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2018-03-09T04:34:12.000+0000 |
Updated | 2018-03-15T03:52:13.000+0000 |
Description
Global options should be displayed on the help screen for individual commands, but it's not.
$ appcd --help
Usage: appcd <command> [options]
Commands:
config get and set config options
dump dumps the config, status, health, and debug logs to a file
exec connects to the Appc Daemon and executes the request
logcat streams Appc Daemon debug log output
restart stops the Appc Daemon if running, then starts it
start starts the Appc Daemon if it's not already running
status displays the Appc Daemon status
stop stops the Appc Daemon if running
Global options:
--config=<json> serialized JSON string to mix into the appcd config
--config-file=<file> path to a appcd JS config file
--no-colors disables colors
-h, --help displays the help screen
-v, --version outputs the appcd version
Global options are present above.
$ appcd start --help
Usage: appcd start [options]
starts the Appc Daemon if it's not already running
start options:
--debug don't run as a background daemon
Global options are not displayed enough.
https://github.com/appcelerator/appc-daemon/pull/296