|
41 | 41 | localdeps*: bool # True if project local deps mode |
42 | 42 | developLocaldeps*: bool # True if local deps + nimble develop pkg1 ... |
43 | 43 | disableSslCertCheck*: bool |
44 | | - noTarballs*: bool # Disable downloading of packages as tarballs from GitHub. |
| 44 | + enableTarballs*: bool # Enable downloading of packages as tarballs from GitHub. |
45 | 45 |
|
46 | 46 | ActionType* = enum |
47 | 47 | actionNil, actionRefresh, actionInit, actionDump, actionPublish, |
@@ -185,7 +185,7 @@ Nimble Options: |
185 | 185 | -y, --accept Accept all interactive prompts. |
186 | 186 | -n, --reject Reject all interactive prompts. |
187 | 187 | -l, --localdeps Run in project local dependency mode |
188 | | - -t, --no-tarballs Disable downloading of packages as tarballs |
| 188 | + -t, --tarballs Enable downloading of packages as tarballs |
189 | 189 | when working with GitHub repositories. |
190 | 190 | --ver Query remote server for package version |
191 | 191 | information when searching or listing packages. |
@@ -475,7 +475,7 @@ proc parseFlag*(flag, val: string, result: var Options, kind = cmdLongOption) = |
475 | 475 | of "nim": result.nim = val |
476 | 476 | of "localdeps", "l": result.localdeps = true |
477 | 477 | of "nosslcheck": result.disableSslCertCheck = true |
478 | | - of "no-tarballs", "t": result.noTarballs = true |
| 478 | + of "tarballs", "t": result.enableTarballs = true |
479 | 479 | else: isGlobalFlag = false |
480 | 480 |
|
481 | 481 | var wasFlagHandled = true |
|
0 commit comments