Unitech / Unitech/pm2

[bug] missing options in help message

Open
#5,155 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

What's going wrong?

When I try to get all options from help:

❯ pm2 --version
5.1.1

❯ pm2 start --help

  Usage: start [options] [name|namespace|file|ecosystem|id...]

  start and daemonize an app

  Options:

    --watch                 Watch folder for changes
    --fresh                 Rebuild Dockerfile
    --daemon                Run container in Daemon mode (debug purposes)
    --container             Start application in container mode
    --dist                  with --container; change local Dockerfile to containerize all files in current directory
    --image-name [name]     with --dist; set the exported image name
    --node-version [major]  with --container, set a specific major Node.js version
    --dockerdaemon          for debugging purpose
    -h, --help              output usage information

It did not show other options like --name or --log, etc.

How could we reproduce this issue?

type pm2 start --help.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Run pm2 start --help and trace the start command's help entry point to find where its options are defined. Compare the displayed list with the documented --name and --log options, then verify that the completed help output includes all expected start options.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.