From fc0bb6ee73192e389a4de360632b14c0ccc82a24 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Tue, 15 Dec 2015 00:09:09 +0000 Subject: [PATCH] The update command is now named refresh. Ref #158 --- src/nimble.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nimble.nim b/src/nimble.nim index 8ea5070..4336571 100644 --- a/src/nimble.nim +++ b/src/nimble.nim @@ -78,8 +78,8 @@ Commands: build Builds a package. c, cc, js [opts, ...] f.nim Builds a file inside a package. Passes options to the Nim compiler. - update [url] Updates package list. A package list URL can - be optionally specified. + refresh [url] Refreshes the package list. A package list URL + can be optionally specified. search [--ver] pkg/tag Searches for a specified package. Search is performed by tag and by name. list [--ver] Lists all packages. @@ -184,7 +184,7 @@ proc parseCmdLine(): Options = of "init": result.action.typ = actionInit result.action.projName = "" - of "update": + of "update", "refresh": result.action.typ = actionUpdate result.action.optionalURL = "" of "search":