From d066ff71f55b5513f273dd29913efba264019329 Mon Sep 17 00:00:00 2001 From: poornas Date: Sun, 30 Jul 2017 08:46:39 -0700 Subject: [PATCH] diff: reword help message (#2222) --- cmd/diff-main.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/cmd/diff-main.go b/cmd/diff-main.go index a904749b..b0a43a08 100644 --- a/cmd/diff-main.go +++ b/cmd/diff-main.go @@ -35,14 +35,13 @@ var ( // Compute differences between two files or folders. var diffCmd = cli.Command{ Name: "diff", - Usage: "Show differences between two folders or buckets.", - Description: "Diff only lists missing objects or objects with size differences. It *DOES NOT* compare contents. i.e. Objects of same name and size, but differ in contents are not noticed.", + Usage: "List objects with size difference or missing between two folders or buckets.", + Description: "Diff only lists missing objects or objects with size differences. It *DOES NOT* compare contents. i.e. objects of same name and size, but differing in content are not noticed.", Action: mainDiff, Before: setGlobalsFromContext, Flags: append(diffFlags, globalFlags...), CustomHelpTemplate: `NAME: {{.HelpName}} - {{.Usage}} - USAGE: {{.HelpName}} [FLAGS] FIRST SECOND @@ -50,9 +49,7 @@ FLAGS: {{range .VisibleFlags}}{{.}} {{end}} DESCRIPTION: - {{.Description}} - -OUTPUT: + {{.Description}} Differences between source and destination are represented by mark notations with following meaning: > - indicates file should be copied. < - indicates file should be deleted.