Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2021 16:51:51 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5eb9c93a20d7 - main - etcupdate: Add -D destdir to usage for 'extract'.
Message-ID:  <202104261651.13QGppqJ005955@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=5eb9c93a20d7320b24635ed09eba4908951bdeb2

commit 5eb9c93a20d7320b24635ed09eba4908951bdeb2
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2021-04-26 16:49:34 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2021-04-26 16:49:34 +0000

    etcupdate: Add -D destdir to usage for 'extract'.
    
    Reported by:    Mark Millard <marklmi@yahoo.com>
    MFC after:      1 week
---
 usr.sbin/etcupdate/etcupdate.8  | 1 +
 usr.sbin/etcupdate/etcupdate.sh | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/usr.sbin/etcupdate/etcupdate.8 b/usr.sbin/etcupdate/etcupdate.8
index 5f13ed1d6733..3d48e218494c 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 254a72abae08..acfc601b93af 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]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104261651.13QGppqJ005955>