Add README.md.
This commit is contained in:
+3
-4
@@ -6,7 +6,7 @@ import (
|
||||
"path"
|
||||
"strings"
|
||||
|
||||
"gitlab.wow.st/gmp/pass"
|
||||
"git.wow.st/gmp/gpass"
|
||||
)
|
||||
|
||||
func usage() {
|
||||
@@ -35,7 +35,7 @@ func parse(args []string) ([]string,options) {
|
||||
}
|
||||
|
||||
func main() {
|
||||
store,err := pass.GetStore()
|
||||
store,err := gpass.GetStore()
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
os.Exit(-1)
|
||||
@@ -64,13 +64,12 @@ func main() {
|
||||
os.Exit(-1)
|
||||
}
|
||||
if opts.clip {
|
||||
pass.Clip(p)
|
||||
gpass.Clip(p)
|
||||
} else {
|
||||
fmt.Print(p)
|
||||
}
|
||||
default:
|
||||
usage()
|
||||
}
|
||||
pass.AskPass2()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user