update readme; add id to hpeer version
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
parent
f845269a5a
commit
2996e1d229
5 changed files with 264 additions and 7 deletions
|
@ -22,6 +22,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"time"
|
||||
|
||||
|
@ -32,6 +33,9 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
cli.VersionPrinter = func(c *cli.Context) {
|
||||
fmt.Printf("%v version=%s id=%s\n", c.App.Name, c.App.Version, heimdall.NodeID())
|
||||
}
|
||||
app := cli.NewApp()
|
||||
app.Name = "hpeer"
|
||||
app.Version = version.BuildVersion()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue