summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/pkg_delete
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-11-14 11:58:44 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-11-14 11:58:44 +0000
commit731285ca7c0e8fd20ac8dac60b73355776e5480e (patch)
treedf256fb5114a30e07e57127f6090bce5edf7b561 /usr.sbin/pkg_add/pkg_delete
parent599b3841e458d9cc111953cf698be7dd9d029e27 (diff)
turn on progress meter by default, use -x to disable it.
document the new stuff, partial reorder of options.
Diffstat (limited to 'usr.sbin/pkg_add/pkg_delete')
-rw-r--r--usr.sbin/pkg_add/pkg_delete4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_delete b/usr.sbin/pkg_add/pkg_delete
index d135a909367..55d2c122802 100644
--- a/usr.sbin/pkg_add/pkg_delete
+++ b/usr.sbin/pkg_add/pkg_delete
@@ -1,6 +1,6 @@
#!/usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_delete,v 1.76 2004/11/14 11:40:08 espie Exp $
+# $OpenBSD: pkg_delete,v 1.77 2004/11/14 11:58:43 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -72,7 +72,7 @@ $state->{dont_run_scripts} = $opt_I;
$state->{forced} = \%forced;
$ENV{'PKG_DELETE_EXTRA'} = $state->{extra} ? "Yes" : "No";
-if ($opt_x && !$state->{beverbose}) {
+if (!$opt_x && !$state->{beverbose}) {
OpenBSD::ProgressMeter::enable();
}