about summary refs log tree commit diff
path: root/Functions/Misc/run-help-podman
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Misc/run-help-podman')
-rw-r--r--Functions/Misc/run-help-podman9
1 files changed, 9 insertions, 0 deletions
diff --git a/Functions/Misc/run-help-podman b/Functions/Misc/run-help-podman
new file mode 100644
index 000000000..64d9cd83f
--- /dev/null
+++ b/Functions/Misc/run-help-podman
@@ -0,0 +1,9 @@
+if [[ $# == 0 ]]
+then
+    man podman
+elif [[ $# > 1 && $1 == (container|generate|healthcheck|image|kube|machine|manifest|network|pod|secret|system|volume) ]]
+then
+    man podman-$1-$2
+else
+    man podman-$1
+fi