Remove =false in usage and man page

This commit is contained in:
Andrey Smirnov
2017-09-27 01:01:01 +03:00
parent d611d0d829
commit aec6c2f2e2
11 changed files with 158 additions and 135 deletions
Generated
+1 -1
View File
@@ -117,7 +117,7 @@ memo = "becdf010a814559719c990c1bd645c737cee332ad52004c440605c13de100d45"
branch = "master" branch = "master"
name = "github.com/smira/flag" name = "github.com/smira/flag"
packages = ["."] packages = ["."]
revision = "357ed3e599ffcbd4aeaa828e1d10da2df3ea5107" revision = "695ea5e84e76dea7c8656e43c384e54b32aa1b2a"
[[projects]] [[projects]]
branch = "master" branch = "master"
+94 -75
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" "July 2017" "" "" .TH "APTLY" "1" "September 2017" "" ""
. .
.SH "NAME" .SH "NAME"
\fBaptly\fR \- Debian repository management tool \fBaptly\fR \- Debian repository management tool
@@ -413,23 +413,23 @@ location of configuration file (default locations are /etc/aptly\.conf, ~/\.aptl
number of attempts to open DB if it\(cqs locked by other instance number of attempts to open DB if it\(cqs locked by other instance
. .
.TP .TP
\-\fBdep\-follow\-all\-variants\fR=false \-\fBdep\-follow\-all\-variants\fR
when processing dependencies, follow a & b if dependency is \(cqa|b\(cq when processing dependencies, follow a & b if dependency is \(cqa|b\(cq
. .
.TP .TP
\-\fBdep\-follow\-recommends\fR=false \-\fBdep\-follow\-recommends\fR
when processing dependencies, follow Recommends when processing dependencies, follow Recommends
. .
.TP .TP
\-\fBdep\-follow\-source\fR=false \-\fBdep\-follow\-source\fR
when processing dependencies, follow from binary to Source packages when processing dependencies, follow from binary to Source packages
. .
.TP .TP
\-\fBdep\-follow\-suggests\fR=false \-\fBdep\-follow\-suggests\fR
when processing dependencies, follow Suggests when processing dependencies, follow Suggests
. .
.TP .TP
\-\fBdep\-verbose\-resolve\fR=false \-\fBdep\-verbose\-resolve\fR
when processing dependencies, print detailed logs when processing dependencies, print detailed logs
. .
.TP .TP
@@ -462,19 +462,19 @@ Options:
filter packages in mirror filter packages in mirror
. .
.TP .TP
\-\fBfilter\-with\-deps\fR=false \-\fBfilter\-with\-deps\fR
when filtering, include dependencies of matching packages as well when filtering, include dependencies of matching packages as well
. .
.TP .TP
\-\fBforce\-architectures\fR=false \-\fBforce\-architectures\fR
(only with architecture list) skip check that requested architectures are listed in Release file (only with architecture list) skip check that requested architectures are listed in Release file
. .
.TP .TP
\-\fBforce\-components\fR=false \-\fBforce\-components\fR
(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
. .
.TP .TP
\-\fBignore\-signatures\fR=false \-\fBignore\-signatures\fR
disable verification of Release file signatures disable verification of Release file signatures
. .
.TP .TP
@@ -482,11 +482,11 @@ disable verification of Release file signatures
gpg keyring to use when verifying Release file (could be specified multiple times) gpg keyring to use when verifying Release file (could be specified multiple times)
. .
.TP .TP
\-\fBwith\-sources\fR=false \-\fBwith\-sources\fR
download source packages in addition to binary packages download source packages in addition to binary packages
. .
.TP .TP
\-\fBwith\-udebs\fR=false \-\fBwith\-udebs\fR
download \.udeb packages (Debian installer support) download \.udeb packages (Debian installer support)
. .
.SH "LIST MIRRORS" .SH "LIST MIRRORS"
@@ -505,7 +505,7 @@ $ aptly mirror list
Options: Options:
. .
.TP .TP
\-\fBraw\fR=false \-\fBraw\fR
display list in machine\-readable format display list in machine\-readable format
. .
.SH "SHOW DETAILS ABOUT MIRROR" .SH "SHOW DETAILS ABOUT MIRROR"
@@ -524,7 +524,7 @@ $ aptly mirror show wheezy\-main
Options: Options:
. .
.TP .TP
\-\fBwith\-packages\fR=false \-\fBwith\-packages\fR
show detailed list of packages and versions stored in the mirror show detailed list of packages and versions stored in the mirror
. .
.SH "DELETE MIRROR" .SH "DELETE MIRROR"
@@ -543,7 +543,7 @@ $ aptly mirror drop wheezy\-main
Options: Options:
. .
.TP .TP
\-\fBforce\fR=false \-\fBforce\fR
force mirror deletion even if used by snapshots force mirror deletion even if used by snapshots
. .
.SH "UPDATE MIRROR" .SH "UPDATE MIRROR"
@@ -566,15 +566,15 @@ Options:
limit download speed (kbytes/sec) limit download speed (kbytes/sec)
. .
.TP .TP
\-\fBforce\fR=false \-\fBforce\fR
force update mirror even if it is locked by another process force update mirror even if it is locked by another process
. .
.TP .TP
\-\fBignore\-checksums\fR=false \-\fBignore\-checksums\fR
ignore checksum mismatches while downloading package files and metadata ignore checksum mismatches while downloading package files and metadata
. .
.TP .TP
\-\fBignore\-signatures\fR=false \-\fBignore\-signatures\fR
disable verification of Release file signatures disable verification of Release file signatures
. .
.TP .TP
@@ -586,7 +586,7 @@ gpg keyring to use when verifying Release file (could be specified multiple time
max download tries till process fails with download error max download tries till process fails with download error
. .
.TP .TP
\-\fBskip\-existing\-packages\fR=false \-\fBskip\-existing\-packages\fR
do not check file existence for packages listed in the internal database of the mirror do not check file existence for packages listed in the internal database of the mirror
. .
.SH "RENAMES MIRROR" .SH "RENAMES MIRROR"
@@ -621,15 +621,15 @@ Options:
filter packages in mirror filter packages in mirror
. .
.TP .TP
\-\fBfilter\-with\-deps\fR=false \-\fBfilter\-with\-deps\fR
when filtering, include dependencies of matching packages as well when filtering, include dependencies of matching packages as well
. .
.TP .TP
\-\fBwith\-sources\fR=false \-\fBwith\-sources\fR
download source packages in addition to binary packages download source packages in addition to binary packages
. .
.TP .TP
\-\fBwith\-udebs\fR=false \-\fBwith\-udebs\fR
download \.udeb packages (Debian installer support) download \.udeb packages (Debian installer support)
. .
.SH "SEARCH MIRROR FOR PACKAGES MATCHING QUERY" .SH "SEARCH MIRROR FOR PACKAGES MATCHING QUERY"
@@ -662,7 +662,7 @@ Options:
custom format for result printing custom format for result printing
. .
.TP .TP
\-\fBwith\-deps\fR=false \-\fBwith\-deps\fR
include dependencies into search results include dependencies into search results
. .
.SH "ADD PACKAGES TO LOCAL REPOSITORY" .SH "ADD PACKAGES TO LOCAL REPOSITORY"
@@ -681,11 +681,11 @@ $ aptly repo add testing myapp\-0\.1\.2\.deb incoming/
Options: Options:
. .
.TP .TP
\-\fBforce\-replace\fR=false \-\fBforce\-replace\fR
when adding package that conflicts with existing package, remove existing package when adding package that conflicts with existing package, remove existing package
. .
.TP .TP
\-\fBremove\-files\fR=false \-\fBremove\-files\fR
remove files that have been imported successfully into repository remove files that have been imported successfully into repository
. .
.SH "COPY PACKAGES BETWEEN LOCAL REPOSITORIES" .SH "COPY PACKAGES BETWEEN LOCAL REPOSITORIES"
@@ -704,11 +704,11 @@ $ aptly repo copy testing stable \(cqmyapp (=0\.1\.12)\(cq
Options: Options:
. .
.TP .TP
\-\fBdry\-run\fR=false \-\fBdry\-run\fR
don\(cqt copy, just show what would be copied don\(cqt copy, just show what would be copied
. .
.TP .TP
\-\fBwith\-deps\fR=false \-\fBwith\-deps\fR
follow dependencies when processing package\-spec follow dependencies when processing package\-spec
. .
.SH "CREATE LOCAL REPOSITORY" .SH "CREATE LOCAL REPOSITORY"
@@ -764,7 +764,7 @@ $ aptly repo drop local\-repo
Options: Options:
. .
.TP .TP
\-\fBforce\fR=false \-\fBforce\fR
force local repo deletion even if used by snapshots force local repo deletion even if used by snapshots
. .
.SH "EDIT PROPERTIES OF LOCAL REPOSITORY" .SH "EDIT PROPERTIES OF LOCAL REPOSITORY"
@@ -814,11 +814,11 @@ $ aptly repo import wheezy\-main testing nginx
Options: Options:
. .
.TP .TP
\-\fBdry\-run\fR=false \-\fBdry\-run\fR
don\(cqt import, just show what would be imported don\(cqt import, just show what would be imported
. .
.TP .TP
\-\fBwith\-deps\fR=false \-\fBwith\-deps\fR
follow dependencies when processing package\-spec follow dependencies when processing package\-spec
. .
.SH "LIST LOCAL REPOSITORIES" .SH "LIST LOCAL REPOSITORIES"
@@ -837,7 +837,7 @@ $ aptly repo list
Options: Options:
. .
.TP .TP
\-\fBraw\fR=false \-\fBraw\fR
display list in machine\-readable format display list in machine\-readable format
. .
.SH "MOVE PACKAGES BETWEEN LOCAL REPOSITORIES" .SH "MOVE PACKAGES BETWEEN LOCAL REPOSITORIES"
@@ -856,11 +856,11 @@ $ aptly repo move testing stable \(cqmyapp (=0\.1\.12)\(cq
Options: Options:
. .
.TP .TP
\-\fBdry\-run\fR=false \-\fBdry\-run\fR
don\(cqt move, just show what would be moved don\(cqt move, just show what would be moved
. .
.TP .TP
\-\fBwith\-deps\fR=false \-\fBwith\-deps\fR
follow dependencies when processing package\-spec follow dependencies when processing package\-spec
. .
.SH "REMOVE PACKAGES FROM LOCAL REPOSITORY" .SH "REMOVE PACKAGES FROM LOCAL REPOSITORY"
@@ -879,7 +879,7 @@ $ aptly repo remove testing \(cqmyapp (=0\.1\.12)\(cq
Options: Options:
. .
.TP .TP
\-\fBdry\-run\fR=false \-\fBdry\-run\fR
don\(cqt remove, just show what would be removed don\(cqt remove, just show what would be removed
. .
.SH "SHOW DETAILS ABOUT LOCAL REPOSITORY" .SH "SHOW DETAILS ABOUT LOCAL REPOSITORY"
@@ -895,7 +895,7 @@ ex: $ aptly repo show testing
Options: Options:
. .
.TP .TP
\-\fBwith\-packages\fR=false \-\fBwith\-packages\fR
show list of packages show list of packages
. .
.SH "RENAMES LOCAL REPOSITORY" .SH "RENAMES LOCAL REPOSITORY"
@@ -940,7 +940,7 @@ Options:
custom format for result printing custom format for result printing
. .
.TP .TP
\-\fBwith\-deps\fR=false \-\fBwith\-deps\fR
include dependencies into search results include dependencies into search results
. .
.SH "ADD PACKAGES TO LOCAL REPOSITORIES BASED ON \.CHANGES FILES" .SH "ADD PACKAGES TO LOCAL REPOSITORIES BASED ON \.CHANGES FILES"
@@ -962,15 +962,15 @@ $ aptly repo include \-repo=foo\-release incoming/
Options: Options:
. .
.TP .TP
\-\fBaccept\-unsigned\fR=false \-\fBaccept\-unsigned\fR
accept unsigned \.changes files accept unsigned \.changes files
. .
.TP .TP
\-\fBforce\-replace\fR=false \-\fBforce\-replace\fR
when adding package that conflicts with existing package, remove existing package when adding package that conflicts with existing package, remove existing package
. .
.TP .TP
\-\fBignore\-signatures\fR=false \-\fBignore\-signatures\fR
disable verification of \.changes file signature disable verification of \.changes file signature
. .
.TP .TP
@@ -978,7 +978,7 @@ disable verification of \.changes file signature
gpg keyring to use when verifying Release file (could be specified multiple times) gpg keyring to use when verifying Release file (could be specified multiple times)
. .
.TP .TP
\-\fBno\-remove\-files\fR=false \-\fBno\-remove\-files\fR
don\(cqt remove files that have been imported successfully into repository don\(cqt remove files that have been imported successfully into repository
. .
.TP .TP
@@ -1023,7 +1023,7 @@ $ aptly snapshot list
Options: Options:
. .
.TP .TP
\-\fBraw\fR=false \-\fBraw\fR
display list in machine\-readable format display list in machine\-readable format
. .
.TP .TP
@@ -1053,7 +1053,7 @@ $ aptly snapshot show wheezy\-main
Options: Options:
. .
.TP .TP
\-\fBwith\-packages\fR=false \-\fBwith\-packages\fR
show list of packages show list of packages
. .
.SH "VERIFY DEPENDENCIES IN SNAPSHOT" .SH "VERIFY DEPENDENCIES IN SNAPSHOT"
@@ -1098,19 +1098,19 @@ $ aptly snapshot pull wheezy\-main wheezy\-backports wheezy\-new\-xorg xorg\-ser
Options: Options:
. .
.TP .TP
\-\fBall\-matches\fR=false \-\fBall\-matches\fR
pull all the packages that satisfy the dependency version requirements pull all the packages that satisfy the dependency version requirements
. .
.TP .TP
\-\fBdry\-run\fR=false \-\fBdry\-run\fR
don\(cqt create destination snapshot, just show what would be pulled don\(cqt create destination snapshot, just show what would be pulled
. .
.TP .TP
\-\fBno\-deps\fR=false \-\fBno\-deps\fR
don\(cqt process dependencies, just pull listed packages don\(cqt process dependencies, just pull listed packages
. .
.TP .TP
\-\fBno\-remove\fR=false \-\fBno\-remove\fR
don\(cqt remove other package versions when pulling package don\(cqt remove other package versions when pulling package
. .
.SH "DIFFERENCE BETWEEN TWO SNAPSHOTS" .SH "DIFFERENCE BETWEEN TWO SNAPSHOTS"
@@ -1136,7 +1136,7 @@ $ aptly snapshot diff \-only\-matching wheezy\-main wheezy\-backports
Options: Options:
. .
.TP .TP
\-\fBonly\-matching\fR=false \-\fBonly\-matching\fR
display diff only for matching packages (don\(cqt display missing packages) display diff only for matching packages (don\(cqt display missing packages)
. .
.SH "MERGES SNAPSHOTS" .SH "MERGES SNAPSHOTS"
@@ -1162,11 +1162,11 @@ $ aptly snapshot merge wheezy\-w\-backports wheezy\-main wheezy\-backports
Options: Options:
. .
.TP .TP
\-\fBlatest\fR=false \-\fBlatest\fR
use only the latest version of each package use only the latest version of each package
. .
.TP .TP
\-\fBno\-remove\fR=false \-\fBno\-remove\fR
don\(cqt remove duplicate arch/name packages don\(cqt remove duplicate arch/name packages
. .
.SH "DELETE SNAPSHOT" .SH "DELETE SNAPSHOT"
@@ -1192,7 +1192,7 @@ $ aptly snapshot drop wheezy\-main
Options: Options:
. .
.TP .TP
\-\fBforce\fR=false \-\fBforce\fR
remove snapshot even if it was used as source for other snapshots remove snapshot even if it was used as source for other snapshots
. .
.SH "RENAMES SNAPSHOT" .SH "RENAMES SNAPSHOT"
@@ -1237,7 +1237,7 @@ Options:
custom format for result printing custom format for result printing
. .
.TP .TP
\-\fBwith\-deps\fR=false \-\fBwith\-deps\fR
include dependencies into search results include dependencies into search results
. .
.SH "FILTER PACKAGES IN SNAPSHOT PRODUCING ANOTHER SNAPSHOT" .SH "FILTER PACKAGES IN SNAPSHOT PRODUCING ANOTHER SNAPSHOT"
@@ -1263,7 +1263,7 @@ $ aptly snapshot filter wheezy\-main wheezy\-required \(cqPriorioty (required)\(
Options: Options:
. .
.TP .TP
\-\fBwith\-deps\fR=false \-\fBwith\-deps\fR
include dependent packages as well include dependent packages as well
. .
.SH "REMOVE PUBLISHED REPOSITORY" .SH "REMOVE PUBLISHED REPOSITORY"
@@ -1289,9 +1289,13 @@ $ aptly publish drop wheezy
Options: Options:
. .
.TP .TP
\-\fBforce\-drop\fR=false \-\fBforce\-drop\fR
remove published repository even if some files could not be cleaned up remove published repository even if some files could not be cleaned up
. .
.TP
\-\fBskip\-cleanup\fR
don\(cqt remove unreferenced files in prefix/component
.
.SH "LIST OF PUBLISHED REPOSITORIES" .SH "LIST OF PUBLISHED REPOSITORIES"
\fBaptly\fR \fBpublish\fR \fBlist\fR \fBaptly\fR \fBpublish\fR \fBlist\fR
. .
@@ -1315,7 +1319,7 @@ $ aptly publish list
Options: Options:
. .
.TP .TP
\-\fBraw\fR=false \-\fBraw\fR
display list in machine\-readable format display list in machine\-readable format
. .
.SH "PUBLISH LOCAL REPOSITORY" .SH "PUBLISH LOCAL REPOSITORY"
@@ -1357,7 +1361,7 @@ $ aptly publish repo testing
Options: Options:
. .
.TP .TP
\-\fBbatch\fR=false \-\fBbatch\fR
run GPG with detached tty run GPG with detached tty
. .
.TP .TP
@@ -1373,7 +1377,7 @@ component name to publish (for multi\-component publishing, separate components
distribution name to publish distribution name to publish
. .
.TP .TP
\-\fBforce\-overwrite\fR=false \-\fBforce\-overwrite\fR
overwrite files in package pool in case of mismatch overwrite files in package pool in case of mismatch
. .
.TP .TP
@@ -1409,11 +1413,11 @@ GPG passhprase\-file for the key (warning: could be insecure)
GPG secret keyring to use (instead of default) GPG secret keyring to use (instead of default)
. .
.TP .TP
\-\fBskip\-contents\fR=false \-\fBskip\-contents\fR
don\(cqt generate Contents indexes don\(cqt generate Contents indexes
. .
.TP .TP
\-\fBskip\-signing\fR=false \-\fBskip\-signing\fR
don\(cqt sign Release files with GPG don\(cqt sign Release files with GPG
. .
.SH "PUBLISH SNAPSHOT" .SH "PUBLISH SNAPSHOT"
@@ -1452,7 +1456,7 @@ $ aptly publish snapshot wheezy\-main
Options: Options:
. .
.TP .TP
\-\fBbatch\fR=false \-\fBbatch\fR
run GPG with detached tty run GPG with detached tty
. .
.TP .TP
@@ -1468,7 +1472,7 @@ component name to publish (for multi\-component publishing, separate components
distribution name to publish distribution name to publish
. .
.TP .TP
\-\fBforce\-overwrite\fR=false \-\fBforce\-overwrite\fR
overwrite files in package pool in case of mismatch overwrite files in package pool in case of mismatch
. .
.TP .TP
@@ -1504,11 +1508,11 @@ GPG passhprase\-file for the key (warning: could be insecure)
GPG secret keyring to use (instead of default) GPG secret keyring to use (instead of default)
. .
.TP .TP
\-\fBskip\-contents\fR=false \-\fBskip\-contents\fR
don\(cqt generate Contents indexes don\(cqt generate Contents indexes
. .
.TP .TP
\-\fBskip\-signing\fR=false \-\fBskip\-signing\fR
don\(cqt sign Release files with GPG don\(cqt sign Release files with GPG
. .
.SH "UPDATE PUBLISHED REPOSITORY BY SWITCHING TO NEW SNAPSHOT" .SH "UPDATE PUBLISHED REPOSITORY BY SWITCHING TO NEW SNAPSHOT"
@@ -1550,7 +1554,7 @@ This command would switch published repository (with one component) named ppa/wh
Options: Options:
. .
.TP .TP
\-\fBbatch\fR=false \-\fBbatch\fR
run GPG with detached tty run GPG with detached tty
. .
.TP .TP
@@ -1558,7 +1562,7 @@ run GPG with detached tty
component names to update (for multi\-component publishing, separate components with commas) component names to update (for multi\-component publishing, separate components with commas)
. .
.TP .TP
\-\fBforce\-overwrite\fR=false \-\fBforce\-overwrite\fR
overwrite files in package pool in case of mismatch overwrite files in package pool in case of mismatch
. .
.TP .TP
@@ -1582,11 +1586,15 @@ GPG passhprase\-file for the key (warning: could be insecure)
GPG secret keyring to use (instead of default) GPG secret keyring to use (instead of default)
. .
.TP .TP
\-\fBskip\-contents\fR=false \-\fBskip\-cleanup\fR
don\(cqt remove unreferenced files in prefix/component
.
.TP
\-\fBskip\-contents\fR
don\(cqt generate Contents indexes don\(cqt generate Contents indexes
. .
.TP .TP
\-\fBskip\-signing\fR=false \-\fBskip\-signing\fR
don\(cqt sign Release files with GPG don\(cqt sign Release files with GPG
. .
.SH "UPDATE PUBLISHED LOCAL REPOSITORY" .SH "UPDATE PUBLISHED LOCAL REPOSITORY"
@@ -1615,11 +1623,11 @@ $ aptly publish update wheezy ppa
Options: Options:
. .
.TP .TP
\-\fBbatch\fR=false \-\fBbatch\fR
run GPG with detached tty run GPG with detached tty
. .
.TP .TP
\-\fBforce\-overwrite\fR=false \-\fBforce\-overwrite\fR
overwrite files in package pool in case of mismatch overwrite files in package pool in case of mismatch
. .
.TP .TP
@@ -1643,11 +1651,15 @@ GPG passhprase\-file for the key (warning: could be insecure)
GPG secret keyring to use (instead of default) GPG secret keyring to use (instead of default)
. .
.TP .TP
\-\fBskip\-contents\fR=false \-\fBskip\-cleanup\fR
don\(cqt remove unreferenced files in prefix/component
.
.TP
\-\fBskip\-contents\fR
don\(cqt generate Contents indexes don\(cqt generate Contents indexes
. .
.TP .TP
\-\fBskip\-signing\fR=false \-\fBskip\-signing\fR
don\(cqt sign Release files with GPG don\(cqt sign Release files with GPG
. .
.SH "SHOWS DETAILS OF PUBLISHED REPOSITORY" .SH "SHOWS DETAILS OF PUBLISHED REPOSITORY"
@@ -1721,11 +1733,11 @@ $ aptly package show \(cqnginx\-light_1\.2\.1\-2\.2+wheezy2_i386\(cq
Options: Options:
. .
.TP .TP
\-\fBwith\-files\fR=false \-\fBwith\-files\fR
display information about files from package pool display information about files from package pool
. .
.TP .TP
\-\fBwith\-references\fR=false \-\fBwith\-references\fR
display information about mirrors, snapshots and local repos referencing this package display information about mirrors, snapshots and local repos referencing this package
. .
.SH "CLEANUP DB AND PACKAGE POOL" .SH "CLEANUP DB AND PACKAGE POOL"
@@ -1744,11 +1756,11 @@ $ aptly db cleanup
Options: Options:
. .
.TP .TP
\-\fBdry\-run\fR=false \-\fBdry\-run\fR
don\(cqt delete anything don\(cqt delete anything
. .
.TP .TP
\-\fBverbose\fR=false \-\fBverbose\fR
be verbose when loading objects/removing them be verbose when loading objects/removing them
. .
.SH "RECOVER DB AFTER CRASH" .SH "RECOVER DB AFTER CRASH"
@@ -1802,7 +1814,7 @@ Options:
host:port for HTTP listening or unix://path to listen on a Unix domain socket host:port for HTTP listening or unix://path to listen on a Unix domain socket
. .
.TP .TP
\-\fBno\-lock\fR=false \-\fBno\-lock\fR
don\(cqt lock the database don\(cqt lock the database
. .
.SH "RENDER GRAPH OF RELATIONSHIPS" .SH "RENDER GRAPH OF RELATIONSHIPS"
@@ -1992,4 +2004,11 @@ Clemens Rabe (https://github\.com/seeraven)
.IP "\[ci]" 4 .IP "\[ci]" 4
TJ Merritt (https://github\.com/tjmerritt) TJ Merritt (https://github\.com/tjmerritt)
. .
.IP "\[ci]" 4
Matt Martyn (https://github\.com/MMartyn)
.
.IP "\[ci]" 4
Ludovico Cavedon (https://github\.com/cavedon)
.
.IP "" 0 .IP "" 0
+1 -1
View File
@@ -440,7 +440,7 @@ Options:
{{/* options layout */}} {{/* options layout */}}
{{define "options"}} {{define "options"}}
{{range allFlags .Flag}} {{range allFlags .Flag}}
* -`{{.Name}}`={{.DefValue}}: * -`{{.Name}}`{{if ne .DefValue "false"}}={{.DefValue}}{{end}}:
{{.Usage}} {{.Usage}}
{{end}} {{end}}
{{end}} {{end}}
+5 -5
View File
@@ -14,10 +14,10 @@ Options:
-architectures="": list of architectures to consider during (comma-separated), default to all available -architectures="": list of architectures to consider during (comma-separated), default to all available
-config="": location of configuration file (default locations are /etc/aptly.conf, ~/.aptly.conf) -config="": location of configuration file (default locations are /etc/aptly.conf, ~/.aptly.conf)
-db-open-attempts=10: number of attempts to open DB if it's locked by other instance -db-open-attempts=10: number of attempts to open DB if it's locked by other instance
-dep-follow-all-variants=false: when processing dependencies, follow a & b if dependency is 'a|b' -dep-follow-all-variants: when processing dependencies, follow a & b if dependency is 'a|b'
-dep-follow-recommends=false: when processing dependencies, follow Recommends -dep-follow-recommends: when processing dependencies, follow Recommends
-dep-follow-source=false: when processing dependencies, follow from binary to Source packages -dep-follow-source: when processing dependencies, follow from binary to Source packages
-dep-follow-suggests=false: when processing dependencies, follow Suggests -dep-follow-suggests: when processing dependencies, follow Suggests
-dep-verbose-resolve=false: when processing dependencies, print detailed logs -dep-verbose-resolve: when processing dependencies, print detailed logs
-gpg-provider="": PGP implementation ("gpg" for external gpg or "internal" for Go internal implementation) -gpg-provider="": PGP implementation ("gpg" for external gpg or "internal" for Go internal implementation)
+5 -5
View File
@@ -22,10 +22,10 @@ Options:
-architectures="": list of architectures to consider during (comma-separated), default to all available -architectures="": list of architectures to consider during (comma-separated), default to all available
-config="": location of configuration file (default locations are /etc/aptly.conf, ~/.aptly.conf) -config="": location of configuration file (default locations are /etc/aptly.conf, ~/.aptly.conf)
-db-open-attempts=10: number of attempts to open DB if it's locked by other instance -db-open-attempts=10: number of attempts to open DB if it's locked by other instance
-dep-follow-all-variants=false: when processing dependencies, follow a & b if dependency is 'a|b' -dep-follow-all-variants: when processing dependencies, follow a & b if dependency is 'a|b'
-dep-follow-recommends=false: when processing dependencies, follow Recommends -dep-follow-recommends: when processing dependencies, follow Recommends
-dep-follow-source=false: when processing dependencies, follow from binary to Source packages -dep-follow-source: when processing dependencies, follow from binary to Source packages
-dep-follow-suggests=false: when processing dependencies, follow Suggests -dep-follow-suggests: when processing dependencies, follow Suggests
-dep-verbose-resolve=false: when processing dependencies, print detailed logs -dep-verbose-resolve: when processing dependencies, print detailed logs
-gpg-provider="": PGP implementation ("gpg" for external gpg or "internal" for Go internal implementation) -gpg-provider="": PGP implementation ("gpg" for external gpg or "internal" for Go internal implementation)
ERROR: unable to parse command ERROR: unable to parse command
+11 -11
View File
@@ -16,18 +16,18 @@ Options:
-architectures="": list of architectures to consider during (comma-separated), default to all available -architectures="": list of architectures to consider during (comma-separated), default to all available
-config="": location of configuration file (default locations are /etc/aptly.conf, ~/.aptly.conf) -config="": location of configuration file (default locations are /etc/aptly.conf, ~/.aptly.conf)
-db-open-attempts=10: number of attempts to open DB if it's locked by other instance -db-open-attempts=10: number of attempts to open DB if it's locked by other instance
-dep-follow-all-variants=false: when processing dependencies, follow a & b if dependency is 'a|b' -dep-follow-all-variants: when processing dependencies, follow a & b if dependency is 'a|b'
-dep-follow-recommends=false: when processing dependencies, follow Recommends -dep-follow-recommends: when processing dependencies, follow Recommends
-dep-follow-source=false: when processing dependencies, follow from binary to Source packages -dep-follow-source: when processing dependencies, follow from binary to Source packages
-dep-follow-suggests=false: when processing dependencies, follow Suggests -dep-follow-suggests: when processing dependencies, follow Suggests
-dep-verbose-resolve=false: when processing dependencies, print detailed logs -dep-verbose-resolve: when processing dependencies, print detailed logs
-filter="": filter packages in mirror -filter="": filter packages in mirror
-filter-with-deps=false: when filtering, include dependencies of matching packages as well -filter-with-deps: when filtering, include dependencies of matching packages as well
-force-architectures=false: (only with architecture list) skip check that requested architectures are listed in Release file -force-architectures: (only with architecture list) skip check that requested architectures are listed in Release file
-force-components=false: (only with component list) skip check that requested components are listed in Release file -force-components: (only with component list) skip check that requested components are listed in Release file
-gpg-provider="": PGP implementation ("gpg" for external gpg or "internal" for Go internal implementation) -gpg-provider="": PGP implementation ("gpg" for external gpg or "internal" for Go internal implementation)
-ignore-signatures=false: disable verification of Release file signatures -ignore-signatures: disable verification of Release file signatures
-keyring=: gpg keyring to use when verifying Release file (could be specified multiple times) -keyring=: gpg keyring to use when verifying Release file (could be specified multiple times)
-with-sources=false: download source packages in addition to binary packages -with-sources: download source packages in addition to binary packages
-with-udebs=false: download .udeb packages (Debian installer support) -with-udebs: download .udeb packages (Debian installer support)
+11 -11
View File
@@ -7,18 +7,18 @@ Options:
-architectures="": list of architectures to consider during (comma-separated), default to all available -architectures="": list of architectures to consider during (comma-separated), default to all available
-config="": location of configuration file (default locations are /etc/aptly.conf, ~/.aptly.conf) -config="": location of configuration file (default locations are /etc/aptly.conf, ~/.aptly.conf)
-db-open-attempts=10: number of attempts to open DB if it's locked by other instance -db-open-attempts=10: number of attempts to open DB if it's locked by other instance
-dep-follow-all-variants=false: when processing dependencies, follow a & b if dependency is 'a|b' -dep-follow-all-variants: when processing dependencies, follow a & b if dependency is 'a|b'
-dep-follow-recommends=false: when processing dependencies, follow Recommends -dep-follow-recommends: when processing dependencies, follow Recommends
-dep-follow-source=false: when processing dependencies, follow from binary to Source packages -dep-follow-source: when processing dependencies, follow from binary to Source packages
-dep-follow-suggests=false: when processing dependencies, follow Suggests -dep-follow-suggests: when processing dependencies, follow Suggests
-dep-verbose-resolve=false: when processing dependencies, print detailed logs -dep-verbose-resolve: when processing dependencies, print detailed logs
-filter="": filter packages in mirror -filter="": filter packages in mirror
-filter-with-deps=false: when filtering, include dependencies of matching packages as well -filter-with-deps: when filtering, include dependencies of matching packages as well
-force-architectures=false: (only with architecture list) skip check that requested architectures are listed in Release file -force-architectures: (only with architecture list) skip check that requested architectures are listed in Release file
-force-components=false: (only with component list) skip check that requested components are listed in Release file -force-components: (only with component list) skip check that requested components are listed in Release file
-gpg-provider="": PGP implementation ("gpg" for external gpg or "internal" for Go internal implementation) -gpg-provider="": PGP implementation ("gpg" for external gpg or "internal" for Go internal implementation)
-ignore-signatures=false: disable verification of Release file signatures -ignore-signatures: disable verification of Release file signatures
-keyring=: gpg keyring to use when verifying Release file (could be specified multiple times) -keyring=: gpg keyring to use when verifying Release file (could be specified multiple times)
-with-sources=false: download source packages in addition to binary packages -with-sources: download source packages in addition to binary packages
-with-udebs=false: download .udeb packages (Debian installer support) -with-udebs: download .udeb packages (Debian installer support)
ERROR: unable to parse command ERROR: unable to parse command
+5 -5
View File
@@ -18,9 +18,9 @@ Options:
-architectures="": list of architectures to consider during (comma-separated), default to all available -architectures="": list of architectures to consider during (comma-separated), default to all available
-config="": location of configuration file (default locations are /etc/aptly.conf, ~/.aptly.conf) -config="": location of configuration file (default locations are /etc/aptly.conf, ~/.aptly.conf)
-db-open-attempts=10: number of attempts to open DB if it's locked by other instance -db-open-attempts=10: number of attempts to open DB if it's locked by other instance
-dep-follow-all-variants=false: when processing dependencies, follow a & b if dependency is 'a|b' -dep-follow-all-variants: when processing dependencies, follow a & b if dependency is 'a|b'
-dep-follow-recommends=false: when processing dependencies, follow Recommends -dep-follow-recommends: when processing dependencies, follow Recommends
-dep-follow-source=false: when processing dependencies, follow from binary to Source packages -dep-follow-source: when processing dependencies, follow from binary to Source packages
-dep-follow-suggests=false: when processing dependencies, follow Suggests -dep-follow-suggests: when processing dependencies, follow Suggests
-dep-verbose-resolve=false: when processing dependencies, print detailed logs -dep-verbose-resolve: when processing dependencies, print detailed logs
-gpg-provider="": PGP implementation ("gpg" for external gpg or "internal" for Go internal implementation) -gpg-provider="": PGP implementation ("gpg" for external gpg or "internal" for Go internal implementation)
+5 -5
View File
@@ -18,10 +18,10 @@ Options:
-architectures="": list of architectures to consider during (comma-separated), default to all available -architectures="": list of architectures to consider during (comma-separated), default to all available
-config="": location of configuration file (default locations are /etc/aptly.conf, ~/.aptly.conf) -config="": location of configuration file (default locations are /etc/aptly.conf, ~/.aptly.conf)
-db-open-attempts=10: number of attempts to open DB if it's locked by other instance -db-open-attempts=10: number of attempts to open DB if it's locked by other instance
-dep-follow-all-variants=false: when processing dependencies, follow a & b if dependency is 'a|b' -dep-follow-all-variants: when processing dependencies, follow a & b if dependency is 'a|b'
-dep-follow-recommends=false: when processing dependencies, follow Recommends -dep-follow-recommends: when processing dependencies, follow Recommends
-dep-follow-source=false: when processing dependencies, follow from binary to Source packages -dep-follow-source: when processing dependencies, follow from binary to Source packages
-dep-follow-suggests=false: when processing dependencies, follow Suggests -dep-follow-suggests: when processing dependencies, follow Suggests
-dep-verbose-resolve=false: when processing dependencies, print detailed logs -dep-verbose-resolve: when processing dependencies, print detailed logs
-gpg-provider="": PGP implementation ("gpg" for external gpg or "internal" for Go internal implementation) -gpg-provider="": PGP implementation ("gpg" for external gpg or "internal" for Go internal implementation)
ERROR: unable to parse command ERROR: unable to parse command
+11 -11
View File
@@ -8,18 +8,18 @@ Options:
-architectures="": list of architectures to consider during (comma-separated), default to all available -architectures="": list of architectures to consider during (comma-separated), default to all available
-config="": location of configuration file (default locations are /etc/aptly.conf, ~/.aptly.conf) -config="": location of configuration file (default locations are /etc/aptly.conf, ~/.aptly.conf)
-db-open-attempts=10: number of attempts to open DB if it's locked by other instance -db-open-attempts=10: number of attempts to open DB if it's locked by other instance
-dep-follow-all-variants=false: when processing dependencies, follow a & b if dependency is 'a|b' -dep-follow-all-variants: when processing dependencies, follow a & b if dependency is 'a|b'
-dep-follow-recommends=false: when processing dependencies, follow Recommends -dep-follow-recommends: when processing dependencies, follow Recommends
-dep-follow-source=false: when processing dependencies, follow from binary to Source packages -dep-follow-source: when processing dependencies, follow from binary to Source packages
-dep-follow-suggests=false: when processing dependencies, follow Suggests -dep-follow-suggests: when processing dependencies, follow Suggests
-dep-verbose-resolve=false: when processing dependencies, print detailed logs -dep-verbose-resolve: when processing dependencies, print detailed logs
-filter="": filter packages in mirror -filter="": filter packages in mirror
-filter-with-deps=false: when filtering, include dependencies of matching packages as well -filter-with-deps: when filtering, include dependencies of matching packages as well
-force-architectures=false: (only with architecture list) skip check that requested architectures are listed in Release file -force-architectures: (only with architecture list) skip check that requested architectures are listed in Release file
-force-components=false: (only with component list) skip check that requested components are listed in Release file -force-components: (only with component list) skip check that requested components are listed in Release file
-gpg-provider="": PGP implementation ("gpg" for external gpg or "internal" for Go internal implementation) -gpg-provider="": PGP implementation ("gpg" for external gpg or "internal" for Go internal implementation)
-ignore-signatures=false: disable verification of Release file signatures -ignore-signatures: disable verification of Release file signatures
-keyring=: gpg keyring to use when verifying Release file (could be specified multiple times) -keyring=: gpg keyring to use when verifying Release file (could be specified multiple times)
-with-sources=false: download source packages in addition to binary packages -with-sources: download source packages in addition to binary packages
-with-udebs=false: download .udeb packages (Debian installer support) -with-udebs: download .udeb packages (Debian installer support)
ERROR: unable to parse flags ERROR: unable to parse flags
+9 -5
View File
@@ -366,12 +366,16 @@ func Set(name, value string) error {
// otherwise, the default values of all defined flags in the set. // otherwise, the default values of all defined flags in the set.
func (f *FlagSet) PrintDefaults() { func (f *FlagSet) PrintDefaults() {
f.VisitAll(func(flag *Flag) { f.VisitAll(func(flag *Flag) {
format := " -%s=%s: %s\n" if _, ok := flag.Value.(*boolValue); ok && flag.DefValue == "false" {
if _, ok := flag.Value.(*stringValue); ok { fmt.Fprintf(f.out(), " -%s: %s\n", flag.Name, flag.Usage)
// put quotes on the value } else {
format = " -%s=%q: %s\n" format := " -%s=%s: %s\n"
if _, ok := flag.Value.(*stringValue); ok {
// put quotes on the value
format = " -%s=%q: %s\n"
}
fmt.Fprintf(f.out(), format, flag.Name, flag.DefValue, flag.Usage)
} }
fmt.Fprintf(f.out(), format, flag.Name, flag.DefValue, flag.Usage)
}) })
} }