The update command is now named refresh. Ref #158
This commit is contained in:
parent
940573f87c
commit
fc0bb6ee73
1 changed files with 3 additions and 3 deletions
|
|
@ -78,8 +78,8 @@ Commands:
|
||||||
build Builds a package.
|
build Builds a package.
|
||||||
c, cc, js [opts, ...] f.nim Builds a file inside a package. Passes options
|
c, cc, js [opts, ...] f.nim Builds a file inside a package. Passes options
|
||||||
to the Nim compiler.
|
to the Nim compiler.
|
||||||
update [url] Updates package list. A package list URL can
|
refresh [url] Refreshes the package list. A package list URL
|
||||||
be optionally specified.
|
can be optionally specified.
|
||||||
search [--ver] pkg/tag Searches for a specified package. Search is
|
search [--ver] pkg/tag Searches for a specified package. Search is
|
||||||
performed by tag and by name.
|
performed by tag and by name.
|
||||||
list [--ver] Lists all packages.
|
list [--ver] Lists all packages.
|
||||||
|
|
@ -184,7 +184,7 @@ proc parseCmdLine(): Options =
|
||||||
of "init":
|
of "init":
|
||||||
result.action.typ = actionInit
|
result.action.typ = actionInit
|
||||||
result.action.projName = ""
|
result.action.projName = ""
|
||||||
of "update":
|
of "update", "refresh":
|
||||||
result.action.typ = actionUpdate
|
result.action.typ = actionUpdate
|
||||||
result.action.optionalURL = ""
|
result.action.optionalURL = ""
|
||||||
of "search":
|
of "search":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue