diff options
author | Ed Santiago <santiago@redhat.com> | 2019-02-26 14:11:27 -0700 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2019-02-26 18:10:36 -0700 |
commit | a20ff42134e0b4e3ba9d26c25d93df50e637fd69 (patch) | |
tree | c823944460b9b2c06f87b2db31a2b970ad76652a /cmd/podman/logs.go | |
parent | ee667dcf97df4ed38b2046b33911dad882829bf8 (diff) | |
download | podman-a20ff42134e0b4e3ba9d26c25d93df50e637fd69.tar.gz podman-a20ff42134e0b4e3ba9d26c25d93df50e637fd69.tar.bz2 podman-a20ff42134e0b4e3ba9d26c25d93df50e637fd69.zip |
Better usage synopses for subcommands
Conceptually simple: include, where applicable, a brief
description of command-line options for each subcommand.
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'cmd/podman/logs.go')
-rw-r--r-- | cmd/podman/logs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/logs.go b/cmd/podman/logs.go index 40ae2c846..a02010eda 100644 --- a/cmd/podman/logs.go +++ b/cmd/podman/logs.go @@ -18,7 +18,7 @@ var ( logsDescription = "The podman logs command batch-retrieves whatever logs are present for a container at the time of execution. This does not guarantee execution" + "order when combined with podman run (i.e. your run may not have generated any logs at the time you execute podman logs" _logsCommand = &cobra.Command{ - Use: "logs", + Use: "logs [flags] CONTAINER", Short: "Fetch the logs of a container", Long: logsDescription, RunE: func(cmd *cobra.Command, args []string) error { |