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>
This commit is contained in:
parent
400942fedf
commit
7054e37126
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue