Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

truffle help command executes command #618

@HaleTom

Description

@HaleTom

Issue

Running truffle help <command> doesn't provide help, but instead runs the command.

This may run a command which the user didn't want to run, but simply to get help about.

Steps to Reproduce

$ truffle help version
Truffle v3.4.11 (core: 3.4.11)
Solidity v0.4.15 (solc-js)

Expected Behavior

The help for the command is printed, the command is not run.

I'd expect to see:

Truffle v3.4.11 - a development framework for Ethereum

Usage: truffle <command> [options]
  version   Show version number and exit

See more at http://truffleframework.com/docs

Ideally, I'd see the applicable options listed for the command.

Actual Results

As above.

Environment

  • Operating System: Linux svelte 4.9.52-1-MANJARO #1 SMP PREEMPT Wed Sep 27 16:40:38 UTC 2017 x86_64 GNU/Linux
  • Truffle version: As above
  • Ethereum client: N/A
  • node version: v8.5.0
  • npm version: 5.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions