Fix man page (help) for aptly package show.

This commit is contained in:
Andrey Smirnov
2016-11-09 23:07:41 +03:00
parent 273d4cfa1b
commit 4e61db8d0f
2 changed files with 15 additions and 4 deletions
+3 -2
View File
@@ -3,11 +3,12 @@ package cmd
import ( import (
"bufio" "bufio"
"fmt" "fmt"
"os"
"github.com/smira/aptly/deb" "github.com/smira/aptly/deb"
"github.com/smira/aptly/query" "github.com/smira/aptly/query"
"github.com/smira/commander" "github.com/smira/commander"
"github.com/smira/flag" "github.com/smira/flag"
"os"
) )
func printReferencesTo(p *deb.Package) (err error) { func printReferencesTo(p *deb.Package) (err error) {
@@ -125,7 +126,7 @@ inclusion into mirrors/snapshots/local repos is shown.
Example: 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), Flag: *flag.NewFlagSet("aptly-package-show", flag.ExitOnError),
} }
+12 -2
View File
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "APTLY" "1" "March 2016" "" "" .TH "APTLY" "1" "November 2016" "" ""
. .
.SH "NAME" .SH "NAME"
\fBaptly\fR \- Debian repository management tool \fBaptly\fR \- Debian repository management tool
@@ -391,6 +391,10 @@ filter packages in mirror
when filtering, include dependencies of matching packages as well when filtering, include dependencies of matching packages as well
. .
.TP .TP
\-\fBforce\-architectures\fR=false
(only with architecture list) skip check that requested architectures are listed in Release file
.
.TP
\-\fBforce\-components\fR=false \-\fBforce\-components\fR=false
(only with component list) skip check that requested components are listed in Release file (only with component list) skip check that requested components are listed in Release file
. .
@@ -1571,7 +1575,7 @@ Example:
. .
.nf .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 .fi
. .
@@ -1824,5 +1828,11 @@ x539 (https://github\.com/x539)
.IP "\[ci]" 4 .IP "\[ci]" 4
Phil Frost (https://github\.com/bitglue) 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 .IP "" 0