From patchwork Sat Sep 22 15:03:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jelle van der Waa X-Patchwork-Id: 785 Return-Path: Delivered-To: patchwork@archlinux.org Received: from apollo.archlinux.org (localhost [127.0.0.1]) by apollo.archlinux.org (Postfix) with ESMTP id 0108770D7B88 for ; Sat, 22 Sep 2018 15:03:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on apollo X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00=-1,DKIM_SIGNED=0.1, MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3,T_DKIM_INVALID=1 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-BL-Results: [127.0.9.2] [127.0.0.11] Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by apollo.archlinux.org (Postfix) with ESMTPS for ; Sat, 22 Sep 2018 15:03:26 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 55800D993A08E; Sat, 22 Sep 2018 15:03:21 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [IPv6:2a01:4f8:160:3033::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS; Sat, 22 Sep 2018 15:03:21 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 404A1287AC; Sat, 22 Sep 2018 15:03:21 +0000 (UTC) Authentication-Results: luna.archlinux.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=vdwaa-nl.20150623.gappssmtp.com header.i=@vdwaa-nl.20150623.gappssmtp.com header.b=lhfGfqDv Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id A9F98287AC for ; Sat, 22 Sep 2018 15:03:18 +0000 (UTC) Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by luna.archlinux.org (Postfix) with ESMTPS for ; Sat, 22 Sep 2018 15:03:18 +0000 (UTC) Received: by mail-ed1-x542.google.com with SMTP id f4-v6so12969494edq.3 for ; Sat, 22 Sep 2018 08:03:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vdwaa-nl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=W9ZfeMAR8eTFePLmQAmWCZTAPcItDriMrzxhPc4/oRA=; b=lhfGfqDvogqX/9oJpD8Eg6nUqQfE3zA7k+/mhTlcOUWcCIGM5ofSpAnD1pCn2knN7V tOudONDjYcPQC+egJmJD0lVXK18Sotqj5H3qOEH46ZYADAAADxnd+kyrLRrgsBmhQ4+i UL4SeYWAQL6FpOcbxgAv722rdCk9L+AMETlVkn9Rb3EltJxR8KwpV/JKhCyJIre7fSKT hYps9P5D7tPMtGnO0EltGIHxVtdIgCrRXBcYGUTBXmWgoJy452CdgkcpEnNR9otXtzOL dEDETVq8L+1P6DLgCEB0q2l7k8AWbf/NnhkIG+TdmGd39vq4sOMd9ebZbaLnrQIkEtEr 1kzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=W9ZfeMAR8eTFePLmQAmWCZTAPcItDriMrzxhPc4/oRA=; b=JkoYY+sBeHTuw4gbEZlBIxd3rPLefQrpznoD3xTITSMlzqRsDdRA2221R5kmPbpT7A /sdoaRB4NI+OwwnswOtiAdnllUEaCuLtAHw2XS5nzw0VuixySYvf8wbbYkfVmMsCfAEJ KtqJ0v59iZ0inyQ/TGPnUDjSFv719YYk/O/AgUjpwd1oTIT6H1sqbWZez2UjKugcL77R sTSaRmqSejEF3Jo5nLaPgKdVdcP+LXux1j1TgXCCLJ3nsc0efmCrjO+qwTXNZqsQM5nt 4cDUCCBUBP6ODlxYhl+8L/dXY/rXelqPm7+lp1jOHBY5EBZH3QIC8cl+VQ3y+JdsAzXl USIQ== X-Gm-Message-State: ABuFfoh+NYosDIe+Ve4/vdiuYQZTzF9Z/UPTQpkvWuRJ5wSCoVux0l3T c5i0m8d6Cmdq0fO/gP0pSi1vepd/a28= X-Google-Smtp-Source: ANB0VdbE5hU1dhDNFyS1iNcYS+/htBcZvEkuf0vMJNHTH683/rEobYDVufAR0XYulV9x6TCLawTE1w== X-Received: by 2002:a50:b8a6:: with SMTP id l35-v6mr4501722ede.273.1537628597243; Sat, 22 Sep 2018 08:03:17 -0700 (PDT) Received: from localhost (53541122.cm-6-5a.dynamic.ziggo.nl. [83.84.17.34]) by smtp.gmail.com with ESMTPSA id g39-v6sm4383138edg.63.2018.09.22.08.03.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 22 Sep 2018 08:03:15 -0700 (PDT) From: Jelle van der Waa To: pacman-contrib@lists.archlinux.org Subject: [PATCH] doc: Add man page for checkupdates Date: Sat, 22 Sep 2018 17:03:14 +0200 Message-Id: <20180922150314.1447-1-jelle@vdwaa.nl> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 X-BeenThere: pacman-contrib@lists.archlinux.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for pacman-contrib development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: pacman-contrib-bounces@lists.archlinux.org Sender: "pacman-contrib" Signed-off-by: Jelle van der Waa --- doc/Makefile.am | 4 ++++ doc/checkupdates.8.txt | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 doc/checkupdates.8.txt diff --git a/doc/Makefile.am b/doc/Makefile.am index 65bc4f5..3b8452a 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -4,11 +4,13 @@ # man_MANS if --enable-asciidoc and/or --enable-doxygen are used. ASCIIDOC_MANS = \ + checkupdates.8 \ paccache.8 \ pacdiff.8 \ pactree.8 HTML_MANPAGES = \ + checkupdates.8.html \ paccache.8.html \ pacdiff.8.html \ pactree.8.html @@ -23,6 +25,7 @@ HTML_DOCS = \ EXTRA_DIST = \ asciidoc.conf \ asciidoc-override.css \ + checkupdates.8.txt \ paccache.8.txt \ pacdiff.8.txt \ pactree.8.txt \ @@ -100,6 +103,7 @@ $(HTML_OTHER): asciidoc.conf Makefile.am %.3.html: ASCIIDOC_OPTS += -d manpage # Dependency rules +checkupdates.8 checkupdates.8.html: checkupdates.8.txt paccache.8 paccache.8.html: paccache.8.txt pacdiff.8 pacdiff.8.html: pacdiff.8.txt pactree.8 pactree.8.html: pactree.8.txt diff --git a/doc/checkupdates.8.txt b/doc/checkupdates.8.txt new file mode 100644 index 0000000..337e608 --- /dev/null +++ b/doc/checkupdates.8.txt @@ -0,0 +1,37 @@ +///// +vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: +///// +checkupdates(8) +============= + +Name +---- +checkupdates - safely print a list of pending updates + + +Synopsis +-------- +'checkupdates' + + +Description +----------- +Checks for pending updates using a separate Pacman database located in +*`TMPDIR`* if *`CHECKUPDATES_DB`* is not set and outputs a list of updates with the +old and new version. + + +Environment +----------- +*CHECKUPDATES_DB*:: + Override the default update db location. + +*TMPDIR*:: + Overrides the default '/tmp' temporary directory. + + +See Also +-------- +linkman:pacman[8], linkman:pacman.conf[5] + +include::footer.txt[]