mirror of
https://github.com/dlang/tools.git
synced 2025-05-05 09:30:53 +03:00
Support --git-target to specify the tag/branch to use for linking to source code.
This commit is contained in:
parent
e5bde65c61
commit
d24b11faa8
2 changed files with 8 additions and 1 deletions
|
@ -1,10 +1,16 @@
|
|||
module app;
|
||||
|
||||
import ddox.main;
|
||||
import std.getopt;
|
||||
import std.process;
|
||||
import vibe.core.log;
|
||||
|
||||
int main(string[] args)
|
||||
{
|
||||
string git_target = "master";
|
||||
getopt(args, std.getopt.config.passThrough,
|
||||
"git-target", &git_target);
|
||||
environment["GIT_TARGET"] = git_target;
|
||||
setPlainLogging(true);
|
||||
return ddoxMain(args);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue