From 1c9715dddfe4380795fdb0cdb24f71d3347ee48d Mon Sep 17 00:00:00 2001 From: Tom Swartz Date: Mon, 23 Apr 2018 13:06:56 -0400 Subject: [PATCH] Fix typos --- README.md | 4 ++-- completions/fish | 2 +- completions/zsh | 4 ++-- doc/yay.8 | 16 ++++++++-------- download.go | 2 +- install.go | 2 +- upgrade.go | 2 +- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index efa1c1ab..e46e9089 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ Yay was created with a few objectives in mind and based on the design of [yaourt * PKGBUILDs with unsupported arch can force build now * PGP Key automatic importing * GPG option passing -* `db/name` support readded +* `db/name` support re-added #### 4.505 @@ -158,7 +158,7 @@ Yay was created with a few objectives in mind and based on the design of [yaourt #### 2.200 -* Development github package support readded +* Development github package support re-added #### 2.196 diff --git a/completions/fish b/completions/fish index 9915f294..97e782ed 100644 --- a/completions/fish +++ b/completions/fish @@ -79,7 +79,7 @@ complete -c $progname -n "not $noopt" -l tar -d 'Tar command to use' -f complete -c $progname -n "not $noopt" -l git -d 'Git command to use' -f complete -c $progname -n "not $noopt" -l gpg -d 'Gpg command to use' -f complete -c $progname -n "not $noopt" -l requestsplitn -d 'Max amount of packages to query per AUR request' -f -complete -c $progname -n "not $noopt" -l sudoloop -d 'Loop sudo calls in the backgroud to avoid timeout' -f +complete -c $progname -n "not $noopt" -l sudoloop -d 'Loop sudo calls in the background to avoid timeout' -f complete -c $progname -n "not $noopt" -l nosudoloop -d 'Do not loop sudo calls in the background' -f complete -c $progname -n "not $noopt" -l redownload -d 'Redownload PKGBUILD of package even if up-to-date' -f complete -c $progname -n "not $noopt" -l noredownload -d 'Do not redownload up-to-date PKGBUILDs' -f diff --git a/completions/zsh b/completions/zsh index b3ea841f..b1c71db5 100644 --- a/completions/zsh +++ b/completions/zsh @@ -75,7 +75,7 @@ _pacman_opts_common=( '--norebuild[Skip package build if in cache and up to date]' '--mflags[Pass arguments to makepkg]:mflags' '--gpgflags[Pass arguments to gpg]:gpgflags' - '--sudoloop[Loop sudo calls in the backgroud to avoid timeout]' + '--sudoloop[Loop sudo calls in the background to avoid timeout]' '--nosudoloop[Do not loop sudo calls in the backgrount]' ) @@ -159,7 +159,7 @@ _pacman_opts_files=( {-l,--list}'[List the files owned by the queried package]:package:_pacman_completions_all_packages' {-o,--owns}'[Query the package that owns]:files:_files' {-s,--search}'[Search package file names for matching strings]:files:_files' - {-x,--regex}'[Enable searching using regluar expressions]:regex:' + {-x,--regex}'[Enable searching using regular expressions]:regex:' {-y,--refresh}'[Download fresh files databases from the server]' '--machinereadable[Produce machine-readable output]' {-q,--quiet}'[Show less information for query and search]' diff --git a/doc/yay.8 b/doc/yay.8 index 419bd3f6..69f65185 100644 --- a/doc/yay.8 +++ b/doc/yay.8 @@ -104,7 +104,7 @@ Print current yay configuration\&. .PP \fB\-n \-\-numberupgrades\fR .RS 4 -Print number of packages that need to be updated\&. Note this does not preform +Print number of packages that need to be updated\&. Note this does not perform a database refresh\&. Run \fByay -Sy\fR Before this for an up to date result\&. .RE .PP @@ -117,7 +117,7 @@ be displayed\&. .PP \fB\-u \-\-upgrades\fR .RS 4 -Print Names of packages that need to be updated\&. Note this does not preform +Print Names of packages that need to be updated\&. Note this does not perform a database refresh\&. Run \fByay -Sy\fR Before this for an up to date result\&. .PP .SH "PERMANENT CONFIGURATION SETTINGS" @@ -201,22 +201,22 @@ Sort AUR results by a specific field during search\&. \fB\-\-answerclean \fR .RS 4 Set a predetermined answer for the clean build menu question\&. This answer -will be used instead of reading from standard input but will be treaded exactly +will be used instead of reading from standard input but will be treated exactly the same when parsed\&. .RE .PP \fB\-\-answeredit \fR .RS 4 Set a predetermined answer for the edit pkgbuild menu question\&. This answer -will be used instead of reading from standard input but will be treaded exactly +will be used instead of reading from standard input but will be treated exactly the same when parsed\&. .RE .PP \fB\-\-answerupgrade\fR .RS 4 -Set a predetermined answer for the upgrade menu question\&. This answer -will be used instead of reading from standard input but will be treaded exactly -the same\&. +Set a predetermined answer for the upgrade menu question\&. Selects which packages +groups or repos to select for updades\&. This answer will be used instead of +reading from standard input but will be treated exactly the same\&. .RE .PP \fB\-\-noanswerclean\fR @@ -259,7 +259,7 @@ Do not check for development packages updates during sysupgrade\&. .RS 4 Use git to download and update PKGBUILDs\&. PKGBUILDs previously downloaded using tarball will continue to use tarballs until the package is clean built\&. -Similary, PKGBUILDs managed with git will continue to use git until the package +Similarly, PKGBUILDs managed with git will continue to use git until the package is clean built.\&. .RE .PP diff --git a/download.go b/download.go index bb609209..79f8a30d 100644 --- a/download.go +++ b/download.go @@ -68,7 +68,7 @@ func gitDownload(url string, path string, name string) error { err = passToGit(filepath.Join(path, name), "reset", "--hard", "HEAD") if err != nil { - return fmt.Errorf("error reseting %s", name) + return fmt.Errorf("error resetting %s", name) } err = passToGit(filepath.Join(path, name), "merge", "--no-edit", "--ff") diff --git a/install.go b/install.go index 3f81814c..686f5819 100644 --- a/install.go +++ b/install.go @@ -195,7 +195,7 @@ func install(parser *arguments) error { config.NoConfirm = oldValue } - //inital srcinfo parse before pkgver() bump + //initial srcinfo parse before pkgver() bump err = parseSRCINFOFiles(dc.Aur, srcinfosStale, dc.Bases) if err != nil { return err diff --git a/upgrade.go b/upgrade.go index a933bb9e..f816d728 100644 --- a/upgrade.go +++ b/upgrade.go @@ -324,7 +324,7 @@ func upgradePkgs(aurUp, repoUp upSlice) (stringSet, stringSet, error) { } //upgrade menu asks you which packages to NOT upgrade so in this case - //include and exclude are kind of swaped + //include and exclude are kind of swapped //include, exclude, other := parseNumberMenu(string(numberBuf)) include, exclude, otherInclude, otherExclude := parseNumberMenu(numbers)