mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-29 03:37:54 +00:00
Merge pull request #1914 from baude/logslatest
Add short-option handling to logs
This commit is contained in:
commit
5bb66a47a4
1 changed files with 9 additions and 8 deletions
|
|
@ -40,14 +40,15 @@ 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 = cli.Command{
|
||||
Name: "logs",
|
||||
Usage: "Fetch the logs of a container",
|
||||
Description: logsDescription,
|
||||
Flags: sortFlags(logsFlags),
|
||||
Action: logsCmd,
|
||||
ArgsUsage: "CONTAINER",
|
||||
SkipArgReorder: true,
|
||||
OnUsageError: usageErrorHandler,
|
||||
Name: "logs",
|
||||
Usage: "Fetch the logs of a container",
|
||||
Description: logsDescription,
|
||||
Flags: sortFlags(logsFlags),
|
||||
Action: logsCmd,
|
||||
ArgsUsage: "CONTAINER",
|
||||
SkipArgReorder: true,
|
||||
OnUsageError: usageErrorHandler,
|
||||
UseShortOptionHandling: true,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue