diff options
author | baude <bbaude@redhat.com> | 2019-03-17 08:40:22 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-03-28 08:34:27 -0500 |
commit | 3423c5a8c9fe4853880959a67073c697402648eb (patch) | |
tree | ae45a4f797e0f845223913115583d8f72f5e1510 /cmd/podman/cliconfig/config.go | |
parent | 850326cc192444d1c5cfd8ba6e1015f653b41e73 (diff) | |
download | podman-3423c5a8c9fe4853880959a67073c697402648eb.tar.gz podman-3423c5a8c9fe4853880959a67073c697402648eb.tar.bz2 podman-3423c5a8c9fe4853880959a67073c697402648eb.zip |
Add watch mode to podman ps
allows users to "watch" the output of podman ps on a set interval in
seconds. in watch mode, the screen is cleared between intervals as well.
podman -ps -w1 watches on 1 second intervals
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/cliconfig/config.go')
-rw-r--r-- | cmd/podman/cliconfig/config.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/cliconfig/config.go b/cmd/podman/cliconfig/config.go index 884bd7fdb..f7ac0de6c 100644 --- a/cmd/podman/cliconfig/config.go +++ b/cmd/podman/cliconfig/config.go @@ -357,6 +357,7 @@ type PsValues struct { Size bool Sort string Sync bool + Watch uint } type PullValues struct { |