about summary refs log tree commit diff
path: root/Functions/Misc/run-help-p4
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Misc/run-help-p4')
-rw-r--r--Functions/Misc/run-help-p45
1 files changed, 5 insertions, 0 deletions
diff --git a/Functions/Misc/run-help-p4 b/Functions/Misc/run-help-p4
new file mode 100644
index 000000000..662ce94fe
--- /dev/null
+++ b/Functions/Misc/run-help-p4
@@ -0,0 +1,5 @@
+if (( ! $# )); then
+  p4 help commands
+else
+  p4 help $1
+fi | ${=PAGER:-less}