aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2021-04-26 16:49:34 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2021-06-09 21:19:19 +0000
commit73a9788cf474ba3c168286a1a0ffa9bd04aef30d (patch)
tree89592dc42dfa9f37ffd2f8ccfa47730fcaa9f601
parent5cb183fe4369ca7170038d5333f297e9a60168d6 (diff)
downloadsrc-73a9788cf474ba3c168286a1a0ffa9bd04aef30d.tar.gz
src-73a9788cf474ba3c168286a1a0ffa9bd04aef30d.zip
etcupdate: Add -D destdir to usage for 'extract'.
Reported by: Mark Millard <marklmi@yahoo.com> (cherry picked from commit 5eb9c93a20d7320b24635ed09eba4908951bdeb2)
-rw-r--r--usr.sbin/etcupdate/etcupdate.81
-rwxr-xr-xusr.sbin/etcupdate/etcupdate.sh4
2 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/etcupdate/etcupdate.8 b/usr.sbin/etcupdate/etcupdate.8
index c3d95b3261ef..22e1eb3c4483 100644
--- a/usr.sbin/etcupdate/etcupdate.8
+++ b/usr.sbin/etcupdate/etcupdate.8
@@ -60,6 +60,7 @@
.Op Fl B
.Op Fl d Ar workdir
.Op Fl s Ar source | Fl t Ar tarball
+.Op Fl D Ar destdir
.Op Fl L Ar logfile
.Op Fl M Ar options
.Nm
diff --git a/usr.sbin/etcupdate/etcupdate.sh b/usr.sbin/etcupdate/etcupdate.sh
index aa7d12e80be6..1070c6905e46 100755
--- a/usr.sbin/etcupdate/etcupdate.sh
+++ b/usr.sbin/etcupdate/etcupdate.sh
@@ -68,8 +68,8 @@ usage: etcupdate [-npBF] [-d workdir] [-r | -s source | -t tarball]
etcupdate build [-B] [-d workdir] [-s source] [-L logfile] [-M options]
<tarball>
etcupdate diff [-d workdir] [-D destdir] [-I patterns] [-L logfile]
- etcupdate extract [-B] [-d workdir] [-s source | -t tarball] [-L logfile]
- [-M options]
+ etcupdate extract [-B] [-d workdir] [-s source | -t tarball]
+ [-D destdir] [-L logfile] [-M options]
etcupdate resolve [-p] [-d workdir] [-D destdir] [-L logfile]
etcupdate revert [-d workdir] [-D destdir] [-L logfile] file ...
etcupdate status [-d workdir] [-D destdir]