mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-04-20 19:38:39 +00:00
Move command description from man file to command help. #42
Man file is auto-generated from inline command help. N.B. I should document this in Contributing.
This commit is contained in:
@@ -67,9 +67,9 @@ func makeCmdSnapshotMerge() *commander.Command {
|
||||
Short: "merges snapshots",
|
||||
Long: `
|
||||
Merge command merges several <source> snapshots into one <destination> snapshot.
|
||||
Merge happens from left to right. Packages with the same name-architecture
|
||||
pair are replaced during merge (package from latest snapshot on the list
|
||||
wins). If run with only one source snapshot, merge copies <source> into
|
||||
Merge happens from left to right. By default, packages with the same
|
||||
name-architecture pair are replaced during merge (package from latest snapshot
|
||||
on the list wins). If run with only one source snapshot, merge copies <source> into
|
||||
<destination>.
|
||||
|
||||
Example:
|
||||
@@ -78,7 +78,7 @@ Example:
|
||||
`,
|
||||
}
|
||||
|
||||
cmd.Flag.Bool("latest", false, "Use only the latest version of each package")
|
||||
cmd.Flag.Bool("latest", false, "use only the latest version of each package")
|
||||
|
||||
return cmd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user