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.
|
||||
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":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue