From 39c8ef24b74d5ed02a9f67857522c469b5172cfa Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Mon, 27 Nov 2023 13:18:34 +0800 Subject: [PATCH] Fix typos --- docs/configuration.md | 2 +- internal/app/app.go | 2 +- main.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index ddbf1be..508ee22 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -55,7 +55,7 @@ Available options for secrets backend are: "secret-service" For gnome-keyring support "keychain" For OS X keychain support "kwallet" For KDE Secrets Manager support -"file" For encrypted file support - needs interaction to supply a symetric encryption key +"file" For encrypted file support - needs interaction to supply a symmetric encryption key ``` Most of the time `auto` is the proper one. The application will try to use the existing backends in the order [defined by the library](https://github.com/99designs/keyring/blob/2c916c935b9f0286ed72c22a3ccddb491c01c620/keyring.go#L28): diff --git a/internal/app/app.go b/internal/app/app.go index ec664ab..e3c6f93 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -21,7 +21,7 @@ const ( DefaultConfigFilename = "config.hjson" ) -// App represents a running application with all the dependant services. +// App represents a running application with all the dependent services. type App struct { // FileTracker tracks local files already uploaded. FileTracker FileTracker diff --git a/main.go b/main.go index 5918f03..ef05dcb 100644 --- a/main.go +++ b/main.go @@ -11,7 +11,7 @@ import ( func main() { gphotosCmd := cli.NewCommand() if err := gphotosCmd.Execute(); err != nil { - fmt.Fprintf(os.Stderr, "Error ocurred: %s", err) + fmt.Fprintf(os.Stderr, "Error occurred: %s", err) os.Exit(int(feedback.ErrGeneric)) } os.Exit(int(feedback.Success))