diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-06-11 10:28:49 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-06-11 11:26:46 -0400 |
commit | f909b745ec82d6c010e27218bda9524bb1724060 (patch) | |
tree | 9095186eb1b8c790a953dfffea9ee6de27185ecd /completions/bash/podman | |
parent | 53435d4d4726250f38054b934246ec4d8b1f7581 (diff) | |
download | podman-f909b745ec82d6c010e27218bda9524bb1724060.tar.gz podman-f909b745ec82d6c010e27218bda9524bb1724060.tar.bz2 podman-f909b745ec82d6c010e27218bda9524bb1724060.zip |
Add --filename option to generate kube
This allows writing output directly to a file, instead of STDOUT.
Makes things easier for some scripting tasks. Like the unit tests
for 'play kube'.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'completions/bash/podman')
-rw-r--r-- | completions/bash/podman | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/completions/bash/podman b/completions/bash/podman index efb8a6a9b..b049f309a 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -2467,7 +2467,9 @@ _podman_healthcheck_run() { } _podman_generate_kube() { - local options_with_args="" + local options_with_args=" + --filename -f + " local boolean_options=" -h |