Rename get-local-path subcommand to get-path

This commit is contained in:
Jan Bader
2026-07-20 20:30:36 +02:00
parent eda8ba9aab
commit aaf7be0b90
3 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -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