From 6b31a2df164c14ef4fb443f6eb617b83b14fd60d Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Thu, 6 Dec 2012 13:15:00 +0000 Subject: [PATCH] Override Perforce typos. Custom commands that override common typos "p4 intergrate" and "p4 oepned" to do the intended thing. --- opt/p4/p4-intergrate | 6 ++++++ opt/p4/p4-oepned | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100755 opt/p4/p4-intergrate create mode 100755 opt/p4/p4-oepned diff --git a/opt/p4/p4-intergrate b/opt/p4/p4-intergrate new file mode 100755 index 0000000..f2b7761 --- /dev/null +++ b/opt/p4/p4-intergrate @@ -0,0 +1,6 @@ +#!/bin/bash + +. ${0%/*}/common + +echo >&2 "Assuming you meant p4 integrate..." +exec p4 $p4opts integrate ${1+"$@"} diff --git a/opt/p4/p4-oepned b/opt/p4/p4-oepned new file mode 100755 index 0000000..9f4ef5b --- /dev/null +++ b/opt/p4/p4-oepned @@ -0,0 +1,6 @@ +#!/bin/bash + +. ${0%/*}/common + +echo >&2 "Assuming you meant p4 opened..." +exec p4 $p4opts opened ${1+"$@"} -- 2.7.4