Skip to content

Unhelpful error message when misplacing non-option arguments #6

@dingp

Description

@dingp

Got non-helpful error message when putting a non-option argument --force after other option arguments like the following:

[bash]# spack dev init -b spackdev-larsoft --default-branch=MVP1a --dag-file $PWD/spack_glue/MVP/templates/larsoft-dag.txt -v larsim --force
==> Calculating package information
==> Error: Unexpected token```

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