Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
pkg-backup: Remove docs for '-d -' as it does not work.
Bryan Drewery committed 11 years ago
commit a1bd6836e4d46e2e25adc01f0d80b7d691fc6b85
parent 6c32c7d
2 files changed +1 -6
modified docs/pkg-backup.8
@@ -43,11 +43,6 @@ The following options are supported by
.Bl -tag -width restore
.It Fl d Ar dest_file , Cm --dump Ar dest_file
Dumps the local package database to a file specified on the command-line.
-
If
-
.Ar -
-
is specified as the argument
-
.Nm
-
will use stdout for its output.
.It Fl q , Cm --quiet
Force quiet output.
.It Fl r Ar src_file , Cm --restore Ar src_file
modified src/backup.c
@@ -87,7 +87,7 @@ exec_backup(int argc, char **argv)
		return (EX_IOERR);

	if (dump) {
-
		if (!quiet && isatty(STDOUT_FILENO))
+
		if (!quiet)
			printf("Dumping database:\n");
		if (pkgdb_dump(db, backup_file) == EPKG_FATAL)
			return (EX_IOERR);