Skip to content

Different arguments between script runner and Frosting #3007

@pascalberger

Description

@pascalberger

What You Are Seeing?

When running dotnet cake --help it shows a --description option.
When running Build.exe --help for a Frosting project it shows a --descriptions option

What is Expected?

Options should be named the same across all runners.

What version of Cake are you using?

1.0.0-RC2

Are you running on a 32 or 64 bit system?

64-Bit

What environment are you running on? Windows? Linux? Mac?

Windows

Are you running on a CI Server? If so, which one?

N/A

How Did You Get This To Happen? (Steps to Reproduce)

  1. Run dotnet cake --help with Cake .NET Tool
  2. Run Build.exe --help for a Frosting project.

Output Log

Cake .NET Tool:

c:\cake-tool>dotnet cake --help
USAGE:
    Cake.dll [SCRIPT] [OPTIONS]

EXAMPLES:
    Cake.dll
    Cake.dll build.cake --verbosity quiet
    Cake.dll build.cake --showtree

ARGUMENTS:
    [SCRIPT]    The Cake script. Defaults to build.cake

OPTIONS:
    -h, --help              Prints help information
    -v, --verbosity         Specifies the amount of information to be displayed
    -d, --debug             Launches script in debug mode
    -e, --exclusive         Executes the target task without any dependencies
        --dryrun            Performs a dry run
        --bootstrap         Download/install modules defined by #module directives, but do not run build
        --skip-bootstrap    Skips bootstrapping when running build
        --description       Shows task descriptions
        --tree              Shows the task dependency tree
        --version           Displays version information
        --info              Displays additional information about Cake

Cake Frosting:

C:\cake-frosting> .\Build.exe --help
USAGE:
    Build.dll [OPTIONS]

EXAMPLES:
    Build.dll
    Build.dll --verbosity quiet
    Build.dll --tree

OPTIONS:
    -h, --help                     Prints help information
    -t, --target <TARGET>          Target task to invoke
    -e, --exclusive                Executes the target task without any dependencies
    -w, --working <PATH>           Sets the working directory
    -v, --verbosity <VERBOSITY>    Specifies the amount of information to be displayed.
                                   (Quiet, Minimal, Normal, Verbose, Diagnostic)
        --dryrun                   Performs a dry run
        --tree                     Shows the task dependency tree
        --descriptions             Shows task descriptions
        --version                  Displays version information
        --info                     Displays additional information about Cake

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions