Skip to content

Rework global options again #973

Open
@kdave

Description

@kdave

User feedback https://lore.kernel.org/linux-btrfs/20241217195649.143d2c94@nvm/ about global options.

Current state:

  • global options must be right after btrfs
  • command specific duplicated by the global ones have been deprecated
  • the pattern is uncommon and unintuitive

Wanted state:

  • global options are also accepted as command options
  • old and new syntax must remain (backward compatibility)

Todo:

  • audit all commands if there's a clashing option for short options (-v/-q), not expected for long options
  • update help texts (add/use macros like in the help text)
  • update documentation

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions