summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-09-05 13:16:07 -0400
committerDan McGee <dan@archlinux.org>2011-09-06 08:43:23 -0500
commit7054e37126cc476b88da7b57a6efa658d4765cf0 (patch)
treeb81d1a1d4818fbe2382a15c322b9cc20e23aa084
parent400942fedf35d4fc6b584b8f1552f1ec649136fe (diff)
sync: add missing newline in warning message
Dan: fix the other missing one too. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--src/pacman/query.c2
-rw-r--r--src/pacman/sync.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/query.c b/src/pacman/query.c
index 31252bd3..9dbc5297 100644
--- a/src/pacman/query.c
+++ b/src/pacman/query.c
@@ -567,7 +567,7 @@ int pacman_query(alpm_list_t *targets)
_("package '%s' was not found\n"), strname);
if(!config->op_q_isfile && access(strname, R_OK) == 0) {
pm_fprintf(stderr, ALPM_LOG_WARNING,
- _("'%s' is a file, you might want to use %s."),
+ _("'%s' is a file, you might want to use %s.\n"),
strname, "-p/--file");
}
break;
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 0a47e56a..15eea955 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -717,7 +717,7 @@ cleanup:
free(targstring);
if(ret && access(target, R_OK) == 0) {
pm_fprintf(stderr, ALPM_LOG_WARNING,
- _("'%s' is a file, did you mean %s instead of %s?"),
+ _("'%s' is a file, did you mean %s instead of %s?\n"),
target, "-U/--upgrade", "-S/--sync");
}
return ret;