From aec7c13648179e6d77d1fea9233e35fb9f9d1e05 Mon Sep 17 00:00:00 2001 From: Chantry Xavier Date: Thu, 10 Jan 2008 15:59:43 +0100 Subject: Rename -t --orphans to -t --unrequired (FS#9144). It turns out the orphan name was misleading. Real orphans are packages installed as dependency no longer required by any others (-Qtd). The -t option only shows package not required by any others, so --unrequired describes it better. Signed-off-by: Chantry Xavier Signed-off-by: Dan McGee --- src/pacman/pacman.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pacman/pacman.c') diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 1b8724ba..4a948160 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -108,7 +108,7 @@ static void usage(int op, const char * const myname) printf(_(" -o, --owns query the package that owns \n")); printf(_(" -p, --file query a package file instead of the database\n")); printf(_(" -s, --search search locally-installed packages for matching strings\n")); - printf(_(" -t, --orphans list all packages not required by any package\n")); + printf(_(" -t, --unrequired list all packages not required by any package\n")); printf(_(" -u, --upgrades list all packages that can be upgraded\n")); printf(_(" -q, --quiet show less information for query and search\n")); } else if(op == PM_OP_SYNC) { @@ -325,7 +325,7 @@ static int parseargs(int argc, char *argv[]) {"root", required_argument, 0, 'r'}, {"recursive", no_argument, 0, 's'}, {"search", no_argument, 0, 's'}, - {"orphans", no_argument, 0, 't'}, + {"unrequired", no_argument, 0, 't'}, {"upgrades", no_argument, 0, 'u'}, {"sysupgrade", no_argument, 0, 'u'}, {"verbose", no_argument, 0, 'v'}, @@ -461,7 +461,7 @@ static int parseargs(int argc, char *argv[]) config->flags |= PM_TRANS_FLAG_RECURSE; break; case 't': - config->op_q_orphans = 1; + config->op_q_unrequired = 1; break; case 'u': config->op_s_upgrade = 1; -- cgit v1.2.3-70-g09d2