瀏覽代碼

Merge pull request #1052 from tomswartz07/master

Fix Typos
Anna 5 年之前
父節點
當前提交
3579d3521a
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      completions/zsh
  2. 1 1
      pkg/types/multierror.go

+ 1 - 1
completions/zsh

@@ -102,7 +102,7 @@ _pacman_opts_common=(
 	'--mflags[Pass arguments to makepkg]:mflags'
 	'--gpgflags[Pass arguments to gpg]:gpgflags'
 	'--sudoloop[Loop sudo calls in the background to avoid timeout]'
-	'--nosudoloop[Do not loop sudo calls in the backgrount]'
+	'--nosudoloop[Do not loop sudo calls in the background]'
 )
 
 # options for passing to _arguments: options for --upgrade commands

+ 1 - 1
pkg/types/multierror.go

@@ -30,7 +30,7 @@ func (err *MultiError) Add(e error) {
 	err.mux.Unlock()
 }
 
-// Return is used as a wrapper on return on wether to return the
+// Return is used as a wrapper on return on whether to return the
 // MultiError Structure if errors exist or nil instead of delivering an empty structure
 func (err *MultiError) Return() error {
 	if len(err.Errors) > 0 {