Skip to content

Wrong parameters are shown for the Import Package script #5150

Description

@netniV

Describe the bug

When using the import_package.php script, the help says that there is an option called --only-info but that option does not exist. The correct name is --info-only but both of these could be shortened to --info which is a more common parameter name usage.

To Reproduce

php -q import_package.php --help
php -q import_package.php --only-info [file]

Expected behaviour

php -q import_package.php --info [file]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourconfirmedBug is confirm by dev teampackagingPackaging as in Cacti TemplatesresolvedA fixed issue

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions