mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-21 15:16:36 +02:00
remove work-around from previous versions
This commit is contained in:
parent
d02be44b9a
commit
8b7d772680
|
@ -380,15 +380,12 @@ Usage:
|
|||
Options:
|
||||
`);
|
||||
foreach (it; opt.sort!("a.optLong < b.optLong")) {
|
||||
if (it.optLong == "--help") continue;
|
||||
writefln(" %s%s%s%s\n %s",
|
||||
it.optLong,
|
||||
it.optShort == "" ? "" : " " ~ it.optShort,
|
||||
argsNeedingOptions.canFind(it.optLong) ? " ARG" : "",
|
||||
it.required ? " (required)" : "", it.help);
|
||||
}
|
||||
// write help last
|
||||
writefln(" --help -h\n This help information.");
|
||||
}
|
||||
|
||||
unittest
|
||||
|
|
Loading…
Reference in a new issue