Skip to content

Improve CLI help section for dsidm and general parent arguments #6067

Closed
@droideck

Description

@droideck

Issue Description
We have two issues that make a user's life harder when they use 389 DS CLI tools.

  1. When you create an entry with dsidm, the OU where this entry is placed must exist. However, this information, and the required OUs are neither mentioned in --help, the man page, nor does the error message contains any hint.

    Suggestion:

    • dsidm should mention the required OUs both in --help and the man page.

    • It would be nice if the error message could show a meaningful error:

      Error: 105 - 4 - 32 - No such object - [] - dc=example,dc=com

      It's really not self-explaining that it means that ou={people,group,...} is missing

  2. When we run:

    dsctl test db2bak -h
    usage: dsctl [instance] db2bak [-h] [archive]
    

    There is no [-v] option before instance_name mentioned, so user will not know he can use it unless he runs "dsctl -h".

    It should mention [-v] in help like this:

    usage: dsctl [-v] [instance] db2bak [-h] [archive]
    

Metadata

Metadata

Assignees

Labels

needs triageThe issue will be triaged during scrum

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions