Rename get-local-path subcommand to get-path
This commit is contained in:
@@ -47,9 +47,9 @@ func main() {
|
||||
}
|
||||
return
|
||||
}
|
||||
if len(os.Args) > 1 && os.Args[1] == "get-local-path" {
|
||||
if err := runGetLocalPathCommand(os.Args[2:], cfg, password); err != nil {
|
||||
fmt.Fprintln(os.Stderr, "get-local-path failed:", err)
|
||||
if len(os.Args) > 1 && os.Args[1] == "get-path" {
|
||||
if err := runGetPathCommand(os.Args[2:], cfg, password); err != nil {
|
||||
fmt.Fprintln(os.Stderr, "get-path failed:", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user