Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit 35df96c

Browse files
committed
Fix short help with analyzeCmd and diffCmd
Fixes "unknown command" errors when using it as described previously.
1 parent bea7ad9 commit 35df96c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎cmd/analyze.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030

3131
var analyzeCmd = &cobra.Command{
3232
Use: "analyze image",
33-
Short: "Analyzes an image: container-diff image",
33+
Short: "Analyzes an image: container-diff analyze image",
3434
Long: `Analyzes an image using the specifed analyzers as indicated via --type flag(s).
3535
3636
For details on how to specify images, run: container-diff help`,

‎cmd/diff.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var filename string
3535

3636
var diffCmd = &cobra.Command{
3737
Use: "diff image1 image2",
38-
Short: "Compare two images: container-diff image1 image2",
38+
Short: "Compare two images: container-diff diff image1 image2",
3939
Long: `Compares two images using the specifed analyzers as indicated via --type flag(s).
4040
4141
For details on how to specify images, run: container-diff help`,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /