Update integrated help.

This commit is contained in:
Andrey Smirnov
2014-03-10 19:42:27 +04:00
parent c28a641293
commit 4c81f0f52a
29 changed files with 166 additions and 109 deletions
+7 -3
View File
@@ -95,11 +95,15 @@ func makeCmdSnapshotDiff() *commander.Command {
cmd := &commander.Command{
Run: aptlySnapshotDiff,
UsageLine: "diff <name-a> <name-b>",
Short: "calculates difference in packages between two snapshots",
Short: "difference between two snapshots",
Long: `
Command diff shows list of missing and new packages, difference in package versions between two snapshots.
Displays difference in packages between two snapshots. Snapshot is a list
of packages, so difference between snapshots is a difference between package
lists. Package could be either completely missing in one snapshot, or package
is present in both snapshots with different versions.
Example:
ex.
$ aptly snapshot diff -only-matching wheezy-main wheezy-backports
`,
Flag: *flag.NewFlagSet("aptly-snapshot-diff", flag.ExitOnError),