Skip to content

Normalize --multiuser to --multi-user for CLI consistency #511

Description

@melvincarvalho

Summary

The CLI flag --multiuser / --no-multiuser is inconsistent with the hyphenated style used by the related single-user flags.

Current state

Flag Style
--multiuser no hyphen
--no-multiuser no hyphen
--single-user hyphenated
--single-user-name <name> hyphenated
--single-user-password <pw> hyphenated

Proposal

Rename --multiuser to --multi-user (and --no-multiuser to --no-multi-user) to match the hyphenated convention used by the single-user family of flags.

This is the standard CLI convention (e.g. kebab-case) and would make the interface more consistent and predictable.

Migration

  • Accept both --multiuser and --multi-user for one release cycle
  • Deprecate --multiuser with a warning
  • Remove in a future major version

Downstream

nosdav-server passes --multiuser through to JSS and would update once this lands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions