dlang / dub

Package and build management system for D
MIT License
672 stars 230 forks source link

--local flag doesn't work as described in help pages #1276

Closed dhd5076 closed 6 years ago

dhd5076 commented 6 years ago

Please search for existing solutions to your problem.

System information

Bug Description

--local command line flag does not work like the man pages describe.

Running the command dub fetch --help gives the instructions for locally fetching packages as dub fetch vibelog --local , but when using this flag it fails to recognize it.

How to reproduce?

The command dub fetch vibelog --local on Ubuntu 16.04 gives the following error: Unknown command line flags: --local Type "dub fetch -h" to get a list of all supported flags.

Expected Behavior

The --local flag should be recognized and should locally install the package

Logs

`dhd5076@khan:~/Git/Dwin-Bar$ dub fetch --help USAGE: dub fetch []

...

Complete applications can be retrieved and run easily by e.g. $ dub fetch vibelog --local $ cd vibelog $ dub

...

dhd5076@khan:~/Git/Dwin-Bar$

`

andre2007 commented 6 years ago

The command was changed to: dub fetch vibelog --cache=local

The documentation is already corrected but not published so far

dhd5076 commented 6 years ago

Ok great, thanks :)