Skip to content

root command ignores unknown options - it should complain instead  #8850

@eguiraud

Description

@eguiraud
  • Checked for duplicates

Describe the bug

This runs fine:

$ root --foobarbaz

Virtually all unix command line tools error out if an invalid option is passed. It's surprising that root does not and can lead to problems:

$ root --batch

does not start root in batch mode, because there is no long spelling for -b.

Expected behavior

root --nonexistingoption should error out.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions