From 4e61db8d0f7f2f0c6c83ce82457d8d798edf00fd Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Wed, 9 Nov 2016 23:07:41 +0300 Subject: [PATCH] Fix man page (help) for `aptly package show`. --- cmd/package_show.go | 5 +++-- man/aptly.1 | 14 ++++++++++++-- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/cmd/package_show.go b/cmd/package_show.go index 67e5efe5..df64b667 100644 --- a/cmd/package_show.go +++ b/cmd/package_show.go @@ -3,11 +3,12 @@ package cmd import ( "bufio" "fmt" + "os" + "github.com/smira/aptly/deb" "github.com/smira/aptly/query" "github.com/smira/commander" "github.com/smira/flag" - "os" ) func printReferencesTo(p *deb.Package) (err error) { @@ -125,7 +126,7 @@ inclusion into mirrors/snapshots/local repos is shown. Example: - $ aptly package show nginx-light_1.2.1-2.2+wheezy2_i386' + $ aptly package show 'nginx-light_1.2.1-2.2+wheezy2_i386' `, Flag: *flag.NewFlagSet("aptly-package-show", flag.ExitOnError), } diff --git a/man/aptly.1 b/man/aptly.1 index c0b3c61b..798e39c9 100644 --- a/man/aptly.1 +++ b/man/aptly.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "APTLY" "1" "March 2016" "" "" +.TH "APTLY" "1" "November 2016" "" "" . .SH "NAME" \fBaptly\fR \- Debian repository management tool @@ -391,6 +391,10 @@ filter packages in mirror when filtering, include dependencies of matching packages as well . .TP +\-\fBforce\-architectures\fR=false +(only with architecture list) skip check that requested architectures are listed in Release file +. +.TP \-\fBforce\-components\fR=false (only with component list) skip check that requested components are listed in Release file . @@ -1571,7 +1575,7 @@ Example: . .nf -$ aptly package show nginx\-light_1\.2\.1\-2\.2+wheezy2_i386\(cq +$ aptly package show \(cqnginx\-light_1\.2\.1\-2\.2+wheezy2_i386\(cq . .fi . @@ -1824,5 +1828,11 @@ x539 (https://github\.com/x539) .IP "\[ci]" 4 Phil Frost (https://github\.com/bitglue) . +.IP "\[ci]" 4 +Benoit Foucher (https://github\.com/bentoi) +. +.IP "\[ci]" 4 +Geoffrey Thomas (https://github\.com/geofft) +. .IP "" 0