10 $PROGRAM_DIR =~ s/[^\/\\]+$//;
11 $PROGRAM_DIR = "./" unless($PROGRAM_DIR);
13 map "$PROGRAM_DIR$_",qw{modules lib
../modules
..lib
};
17 my @OPTIONS = qw
/help|h|? version|ver edit-me manual|man/;
22 require MyPlace
::Usage
;
23 Getopt
::Long
::GetOptions
(\
%OPTS,@OPTIONS);
24 MyPlace
::Usage
::Process
(\
%OPTS,$VERSION);
28 require MyPlace
::Usage
;
29 MyPlace
::Usage
::PrintHelp
();
32 my ($keyword,@files)=@ARGV;
39 system("svn","add",$_);
40 system("svn","propset","svn:keywords",$keyword,$_);
51 svn-add-keyword - set svn:keywords to file
55 svn-add-keyword [options] (file | keyword file1 [file2 ...])
63 Print version infomation.
67 Print a brief help message and exits.
69 =item B<--manual>,B<--man>
71 View application manual
75 Invoke 'editor' against the source
81 Set svn:keywords to files, make them under 'Version Control' if not
85 Sun Jun 6 01:24:09 2010 xiaoranzzz <xiaoranzzz@myplace.hell>
91 xiaoranzzz <xiaoranzzz@myplace.hell>