Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
setup-resource: udpated --linkDataset
Browse files Browse the repository at this point in the history
  • Loading branch information
vaclavblazek committed Oct 23, 2020
1 parent 6da1d5a commit a1c6681
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mapproxy/src/setup-resource/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ UTILITY_GENERATE_ENUM_CI(ResourceType,
)

UTILITY_GENERATE_ENUM(DatasetLink,
((nolink))
((absolute))
((nolink)("nolink")("0")("false"))
((absolute)("absolute")("1")("true"))
((relative))
)

Expand Down Expand Up @@ -155,7 +155,9 @@ void SetupResource::configuration(po::options_description &cmdline
(&linkDataset_, DatasetLink::absolute)
->default_value(DatasetLink::nolink)
, "Link dataset instead of copying. NB: dataset must stay at given "
"path while resource is used.")
"path while resource is used. Can be used as a boolean or value "
"(nolink=false, absolute=true, relative). Relative link creates "
"link relative to resource dataset directory.")
("resourceType", po::value<ResourceType>()
, "Resource type: TMS or TIN.")

Expand Down

0 comments on commit a1c6681

Please sign in to comment.