NAME

c4_job_edit - Pass command line on to editor after commenting out Jobs

SYNOPSIS

c4_job_edit [editor_arguments]

DESCRIPTION

C4_job_edit edits the final non switch argument on the command line to comment out all Job: lines. It then passes all remaining arguments to the default editor program.

This prevents false closing of jobs by requiring the user to opt-in to closing bugs, rather then the default opt-out policy.

To use this program, simply set the P4EDITOR environment variable in your default startup script.

setenv EDITOR="emacs"
setenv P4EDITOR="c4_job_edit $EDITOR"

ARGUMENTS

--help

Displays this message and program version and exits.

SEE ALSO

c4 P4::C4 p4

AUTHORS

Wilson Snyder <wsnyder@wsnyder.org>