Skip to content

Unload module issue with --duplicates flag #421

@mzborovsky

Description

@mzborovsky

I'm using module version 4.7.0, in the module file, I have added --duplicates flag to solve an issue we had.
--duplicates flag works great but when unloading the module this output is printed on the screen:
Unloading tools/test
WARNING: --duplicates option has no effect on unload-path

I have managed to disable those messages with -silent flag when doing module unload / module switch, but I need it to be fixed inside the module file itself, so users won't need to add anything and this output won't be printed.
Is there any flag I could add to the prepend-path command or to the something in the module file ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions