Skip to content

Commit

Permalink
fixing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Jul 15, 2016
1 parent f7fad20 commit e37e7ec
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
1 change: 1 addition & 0 deletions Paket.sln
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "content", "content", "{8E6D
docs\content\dependencies-file.md = docs\content\dependencies-file.md
docs\content\editor-support.md = docs\content\editor-support.md
docs\content\faq.md = docs\content\faq.md
docs\content\commands\generate-include-scripts.md = docs\content\commands\generate-include-scripts.md
docs\content\getting-started.md = docs\content\getting-started.md
docs\content\git-dependencies.md = docs\content\git-dependencies.md
docs\content\github-dependencies.md = docs\content\github-dependencies.md
Expand Down
4 changes: 0 additions & 4 deletions docs/content/commands/generate-include-scripts.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
## Generating include scripts for all NuGet packages


<blockquote>This feature is only available in Paket 3.0 prereleases.</blockquote>


It is possible to generate include scripts for all registered NuGet packages defined in the [`paket.dependencies` file](dependencies-file.html).

[lang=batchfile]
Expand Down
3 changes: 1 addition & 2 deletions docs/content/paket-push.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Pushes the given `.nupkg` file.
[lang=msh]
paket push [--help] url <url> file <path> [apikey <key>] [endpoint <path>]

### Options:USAGE: paket push [--help] url <url> file <path> [apikey <key>] [endpoint <path>]
USAGE: paket push [--help] url <url> file <path> [apikey <key>] [endpoint <path>]

OPTIONS:

Expand All @@ -17,7 +17,6 @@ OPTIONS:
--log-file <path> Specify a log file for the paket process.
--silent, -s Suppress console output for the paket process.
--help display this list of options.

If you add the `-v` flag, then Paket will run in verbose mode and show detailed information.

With `--log-file [FileName]` you can trace the logged information into a file.
Expand Down
9 changes: 4 additions & 5 deletions src/Paket/Commands.fs
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ with
interface IArgParserTemplate with
member this.Usage =
match this with
| Framework _ -> "Framework identifier to generate scripts for, such as net4 or netcore. Can be provided multiple times."
| ScriptType _ -> "Language to generate scripts for, must be one of 'fsx' or 'csx'. Can be provided multiple times."
| Framework _ -> "Framework identifier to generate scripts for, such as net4 or netcore."
| ScriptType _ -> "Language to generate scripts for, must be one of 'fsx' or 'csx'."

[<RequireSubcommand>]
type Command =
Expand Down Expand Up @@ -359,7 +359,7 @@ with
| ShowGroups _ -> "Shows all groups."
| Pack _ -> "Packs all paket.template files within this repository."
| Push _ -> "Pushes the given `.nupkg` file."
| GenerateIncludeScripts _ -> "Generate include scripts for installed packages."
| GenerateIncludeScripts _ -> "Allows to generate C# and F# include scripts which references installed packages in a interactive environment like F# Interactive oder ScriptCS."
| Log_File _ -> "Specify a log file for the paket process."
| Silent -> "Suppress console output for the paket process."
| Verbose -> "Enable verbose console output for the paket process."
Expand Down Expand Up @@ -408,8 +408,7 @@ let markdown (subParser : ArgumentParser) (additionalText : string) =
.AppendLine(syntax)
.AppendLine()
.Append(afterCommandText)
.Append("### Options:")
.AppendLine(options)
.Append(options)
.Append(afterOptionsText)
.ToString()
|> replaceLinks
Expand Down

0 comments on commit e37e7ec

Please sign in to comment.