From fcf4da76e031162cc78e4d57c8c22a415ac4094c Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 29 Apr 2016 22:32:13 +0100 Subject: fix spelling mistakes Signed-off-by: Eric Engestrom Signed-off-by: Allan McRae (cherry picked from commit 2694d17ad99bab1cea5aad0ea4781ea4d51e596b) --- contrib/zsh_completion.in | 6 +++--- lib/libalpm/alpm.h | 2 +- lib/libalpm/be_package.c | 2 +- lib/libalpm/deps.c | 2 +- lib/libalpm/package.h | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/contrib/zsh_completion.in b/contrib/zsh_completion.in index 3ef4b8dc..f74fa297 100644 --- a/contrib/zsh_completion.in +++ b/contrib/zsh_completion.in @@ -103,7 +103,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]' @@ -505,7 +505,7 @@ _key_shortopts=( '-a[Add the specified keys (empty for stdin)]: :_files' '-d[Remove the Specified keyids]:*: :_keys' '-e[Export the specified or all keyids]:*: :_keys' - '-f[List fingreprint for specidied or all keyids]:*: :_keys' + '-f[List fingerprint for specified or all keyids]:*: :_keys' '-l[List the specified or all keys]:*: :_keys' '-r[Fetch the specified keyids]:*: :_keys' '-u[Update the trustdb of pacman]' @@ -518,7 +518,7 @@ _key_longopts=( '--add[Add the specified keys (empty for stdin)]: :_files' '--delete[Remove the Specified keyids]:*: :_keys' '--export[Export the specified or all keyids]:*: :_keys' - '--finger[List fingreprint for specidied or all keyids]:*: :_keys' + '--finger[List fingerprint for specified or all keyids]:*: :_keys' '--list-keys[List the specified or all keys]:*: :_keys' '--recv-keys[Fetch the specified keyids]:*: :_keys' '--updatedb[Update the trustdb of pacman]' diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index aa57d512..9b8166f9 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -464,7 +464,7 @@ typedef enum _alpm_event_type_t { ALPM_EVENT_HOOK_DONE, /** A hook is starting */ ALPM_EVENT_HOOK_RUN_START, - /** A hook has finnished runnning */ + /** A hook has finished running */ ALPM_EVENT_HOOK_RUN_DONE } alpm_event_type_t; diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c index 247715eb..c9ed7708 100644 --- a/lib/libalpm/be_package.c +++ b/lib/libalpm/be_package.c @@ -356,7 +356,7 @@ int _alpm_pkg_validate_internal(alpm_handle_t *handle, } /** - * Handle the existance of simple paths for _alpm_load_pkg_internal() + * Handle the existence of simple paths for _alpm_load_pkg_internal() * @param pkg package to change * @param path path to examine * @return 0 if path doesn't match any rule, 1 if it has been handled diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index 1fe7cd91..c35a2752 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -432,7 +432,7 @@ int _alpm_depcmp_literal(alpm_pkg_t *pkg, alpm_depend_t *dep) } /** - * @param dep dependency to check agains the provision list + * @param dep dependency to check against the provision list * @param provisions provision list * @return 1 if provider is found, 0 otherwise */ diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h index 9fea3563..31add9ac 100644 --- a/lib/libalpm/package.h +++ b/lib/libalpm/package.h @@ -37,7 +37,7 @@ /** Package operations struct. This struct contains function pointers to * all methods used to access data in a package to allow for things such - * as lazy package intialization (such as used by the file backend). Each + * as lazy package initialization (such as used by the file backend). Each * backend is free to define a stuct containing pointers to a specific * implementation of these methods. Some backends may find using the * defined default_pkg_ops struct to work just fine for their needs. -- cgit v1.2.3-70-g09d2