summaryrefslogtreecommitdiff
path: root/src/pacman/pacman.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-05-07 12:59:44 +1000
committerAllan McRae <allan@archlinux.org>2013-05-07 12:59:44 +1000
commit0f988beff8794338485352dc1beafbfcdbb20db1 (patch)
treee673c51058bddede4ef7f054e79c8ae799809628 /src/pacman/pacman.c
parentc5716d0e72e47c8cd2ca1a437598eeee54111754 (diff)
parenta4a7336dff8155cfeb37341d1e9e56092439bae6 (diff)
Merge branch 'maint'
Diffstat (limited to 'src/pacman/pacman.c')
-rw-r--r--src/pacman/pacman.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 916873d7..921331c6 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -24,7 +24,6 @@
#define PACKAGE_VERSION GIT_VERSION
#endif
-#include <ctype.h> /* isspace */
#include <stdlib.h> /* atoi */
#include <stdio.h>
#include <ctype.h> /* isspace */
@@ -139,7 +138,7 @@ static void usage(int op, const char * const myname)
addlist(_(" -e, --explicit list packages explicitly installed [filter]\n"));
addlist(_(" -g, --groups view all members of a package group\n"));
addlist(_(" -i, --info view package information (-ii for backup files)\n"));
- addlist(_(" -k, --check check that the files owned by the package(s) are present\n"));
+ addlist(_(" -k, --check check that package files exist (-kk for file properties)\n"));
addlist(_(" -l, --list list the contents of the queried package\n"));
addlist(_(" -m, --foreign list installed packages not found in sync db(s) [filter]\n"));
addlist(_(" -n, --native list installed packages only found in sync db(s) [filter]\n"));
@@ -288,7 +287,7 @@ static ssize_t xwrite(int fd, const void *buf, size_t count)
}
/** Catches thrown signals. Performs necessary cleanup to ensure database is
- * in a consistant state.
+ * in a consistent state.
* @param signum the thrown signal
*/
static void handler(int signum)
@@ -313,7 +312,7 @@ static void handler(int signum)
return;
}
}
- /* SIGINT: no commiting transaction, release it now and then exit pacman
+ /* SIGINT: no committing transaction, release it now and then exit pacman
* SIGHUP, SIGTERM: release no matter what */
alpm_trans_release(config->handle);
/* output a newline to be sure we clear any line we may be on */