Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
5d3e5f64
Commit
5d3e5f64
authored
Sep 17, 2007
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved -s and support cvs's -e30.8 version idiom.
parent
a0f29ed8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
cull_options
support/cull_options
+0
-2
rrsync
support/rrsync
+2
-2
No files found.
support/cull_options
View file @
5d3e5f64
...
...
@@ -33,8 +33,6 @@ while (<IN>) {
}
close
IN
;
$short_no_arg
{
's'
}
=
1
;
my
$short_no_arg
=
join
(
''
,
sort
keys
%
short_no_arg
);
my
$short_with_num
=
join
(
''
,
sort
keys
%
short_with_num
);
...
...
support/rrsync
View file @
5d3e5f64
...
...
@@ -50,7 +50,7 @@ die "$0 -ro: sending to read-only server not allowed\n" if $ro && !$am_sender;
# To disable a short-named option, add its letter to this string:
our
$short_disabled
=
's'
;
our
$short_no_arg
=
'ACDEHIKLORSWXbcdgklmnoprtuvxz'
;
# DO NOT REMOVE ANY
our
$short_no_arg
=
'ACDEHIKLORSWXbcdgklmnopr
s
tuvxz'
;
# DO NOT REMOVE ANY
our
$short_with_num
=
'B'
;
# DO NOT REMOVE ANY
# To disable a long-named option, change its value to a -1. The values mean:
...
...
@@ -139,7 +139,7 @@ while ($command =~ /((?:[^\s\\]+|\\.[^\s\\]*)+)/g) {
if
(
$_
eq
'.'
)
{
$in_options
=
0
;
}
else
{
next
if
/^-$short_no_arg+$/o
||
/^-$short_with_num\d+$/o
;
next
if
/^-$short_no_arg+
(e\d+\.\d+)?
$/o
||
/^-$short_with_num\d+$/o
;
my
(
$opt
,
$arg
)
=
/^--([^=]+)(?:=(.*))?$/
;
my
$disabled
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment