dub-add-override - Man Page

Adds a new package override.

Synopsis

dub add-override <package> <version-spec> <target-path/target-version> Options...

Description

This command is deprecated. Use path based dependency, custom cache path, or edit `dub.selections.json` to achieve the same results.

Options

--system

Register system-wide instead of user-wide

Common Options

See dub(1)

Exit Status

0

DUB succeeded

1

usage errors, unknown command line flags

2

package not found, package failed to load, miscellaneous error

Files

dub.sdl, dub.json

Author

Copyright (c) 1999-2024 by The D Language Foundation

Online Documentation

http://code.dlang.org/docs/commandline

See Also

dub(1), dub-list-overrides(1), dub-remove-override(1)

Referenced By

dub(1), dub-list-overrides(1), dub-remove-override(1).

2024-01-24 The D Language Foundation