summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-05-30 07:24:09 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-05-30 07:24:09 +0000
commit514fd1766659c19d356f05dc7410e77f62d2d4a1 (patch)
tree930c83ab38b4759e2d71300e595951d2f8fec6fb /usr.bin
parentfdf3a3153519252843a61253ad745c3885956a37 (diff)
handle -q for Sticky Options and Sticky Tags output; OK joris@.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/status.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/cvs/status.c b/usr.bin/cvs/status.c
index 6b874f0bdee..25d505cb1eb 100644
--- a/usr.bin/cvs/status.c
+++ b/usr.bin/cvs/status.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: status.c,v 1.59 2006/05/28 07:56:44 joris Exp $ */
+/* $OpenBSD: status.c,v 1.60 2006/05/30 07:24:08 xsa Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -166,11 +166,16 @@ cvs_status_local(struct cvs_file *cf)
if (cf->file_ent != NULL) {
if (cf->file_ent->ce_tag != NULL)
- cvs_printf(" Sticky Tag:\t%s\n",
+ cvs_printf(" Sticky Tag:\t\t%s\n",
cf->file_ent->ce_tag);
+ else if (verbosity > 0)
+ cvs_printf(" Sticky Tag:\t\t(none)\n");
+
if (cf->file_ent->ce_opts != NULL)
cvs_printf(" Sticky Options:\t%s\n",
cf->file_ent->ce_opts);
+ else if (verbosity > 0)
+ cvs_printf(" Sticky Options:\t(none)\n");
}
cvs_printf("\n");