Rename get-local-path subcommand to get-path
This commit is contained in:
1 parent
eda8ba9aab
commit
aaf7be0b90
3 files changed
+9
-9
No files matched your search
@@ -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