summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2018-09-16 11:41:18 +0200
committerGuillem Jover <guillem@debian.org>2019-02-23 15:26:00 +0100
commitc6fe5807feb2b1fcddd56831af29183184db4f4a (patch)
treef631edaa635ba75216fb09420a7e2b3df1be3f90 /src
parente14213a278574c0dbdec02f26fa8c7c4c02dfe7c (diff)
downloaddpkg-c6fe5807feb2b1fcddd56831af29183184db4f4a.tar.gz
dpkg: Do not hardcode the program name in the --force-help output
We will be using the same logic for other commands.
Diffstat (limited to 'src')
-rw-r--r--src/force.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/force.c b/src/force.c
index ce0077e6f..13c53f3d6 100644
--- a/src/force.c
+++ b/src/force.c
@@ -250,7 +250,7 @@ set_force(const struct cmdinfo *cip, const char *value)
"%s forcing options - control behaviour when problems found:\n"
" warn but continue: --force-<thing>,<thing>,...\n"
" stop with error: --refuse-<thing>,<thing>,... | --no-force-<thing>,...\n"
-" Forcing things:\n"), DPKG);
+" Forcing things:\n"), dpkg_get_progname());
for (fip = forceinfos; fip->name; fip++)
print_forceinfo(fip);