Skip to content

Commit

Permalink
Document 1.0.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas committed Jun 18, 2014
1 parent 976e6e7 commit 77ddc7d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,18 @@
- Callbacks per command, flag and argument.
- Help output that isn't as ugly as sin.

## Versions

Kingpin uses [gopkgin.in](https://gopkg.in/alecthomas/kingpin.v1) for versioning.

## Changes

- *2014-06-19* -- Stable v1.0.0 release.
- Support [cumulative positional](#consuming-all-remaining-arguments) arguments.
- Return error rather than panic when there are fatal errors not caught by
the type system. eg. when a default value is invalid.
- Use gokpg.in.

- *2014-06-10* -- Place-holder streamlining.
- Renamed `MetaVar` to `PlaceHolder`.
- Removed `MetaVarFromDefault`. Kingpin now uses [heuristics](#place-holders-in-help)
Expand Down Expand Up @@ -44,7 +54,7 @@ package main
import (
"fmt"

"gopkg.in/alecthomas/kingpin.v0"
"gopkg.in/alecthomas/kingpin.v1"
)

var (
Expand Down Expand Up @@ -109,7 +119,7 @@ package main

import (
"os"
"gopkg.in/alecthomas/kingpin.v0"
"gopkg.in/alecthomas/kingpin.v1"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion examples/curl/curl.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"os"
"strings"

"github.com/alecthomas/kingpin"
"gopkg.in/alecthomas/kingpin.v0"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion examples/ping/ping.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"github.com/alecthomas/kingpin"
"gopkg.in/alecthomas/kingpin.v0"
)

var (
Expand Down

0 comments on commit 77ddc7d

Please sign in to comment.