Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-242] appcd: Global options not displayed on command help

GitHub Issuen/a
TypeBug
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2018-03-15T03:52:13.000+0000
Affected Version/sn/a
Fix Version/sAppc Daemon 1.1.0
Componentsappcd
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2018-03-09T04:34:12.000+0000
Updated2018-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.

Comments

  1. Chris Barber 2018-03-15

    https://github.com/appcelerator/appc-daemon/pull/296

JSON Source