mirror of
https://github.com/containers/podman.git
synced 2025-09-28 01:04:28 +08:00
Fix help message case for podman version
This is a cosmetic change. The help message for `podman version` is in title case whereas all other command help messages are not in title case. This stands out as inconsistent when looking at the output of `podman help`. Signed-off-by: Praveen Kumar <praveen+git@kumar.in>
This commit is contained in:
@ -20,7 +20,7 @@ var (
|
|||||||
versionCommand = &cobra.Command{
|
versionCommand = &cobra.Command{
|
||||||
Use: "version [options]",
|
Use: "version [options]",
|
||||||
Args: validate.NoArgs,
|
Args: validate.NoArgs,
|
||||||
Short: "Display the Podman Version Information",
|
Short: "Display the Podman version information",
|
||||||
RunE: version,
|
RunE: version,
|
||||||
ValidArgsFunction: completion.AutocompleteNone,
|
ValidArgsFunction: completion.AutocompleteNone,
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,6 @@ var _ = Describe("Podman version", func() {
|
|||||||
f := CurrentGinkgoTestDescription()
|
f := CurrentGinkgoTestDescription()
|
||||||
processTestResult(f)
|
processTestResult(f)
|
||||||
podmanTest.SeedImages()
|
podmanTest.SeedImages()
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
It("podman version", func() {
|
It("podman version", func() {
|
||||||
@ -96,4 +95,13 @@ var _ = Describe("Podman version", func() {
|
|||||||
session.WaitWithDefaultTimeout()
|
session.WaitWithDefaultTimeout()
|
||||||
Expect(session).Should(Exit(0))
|
Expect(session).Should(Exit(0))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
It("podman help", func() {
|
||||||
|
session := podmanTest.Podman([]string{"help"})
|
||||||
|
session.WaitWithDefaultTimeout()
|
||||||
|
Expect(session).Should(Exit(0))
|
||||||
|
Expect(session.Out.Contents()).Should(
|
||||||
|
ContainSubstring("Display the Podman version information"),
|
||||||
|
)
|
||||||
|
})
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user