Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
bbfaf8c6
Commit
bbfaf8c6
authored
Apr 06, 2003
by
Kurt Zeilenga
Browse files
Misc translation tweaks
parent
0dcd3237
Changes
2
Hide whitespace changes
Inline
Side-by-side
clients/tools/ldapcompare.c
View file @
bbfaf8c6
...
...
@@ -49,7 +49,8 @@ usage( void )
fprintf
(
stderr
,
_
(
" b64value
\t
base64 encoding of assertion value
\n
"
));
fprintf
(
stderr
,
_
(
"Compare options:
\n
"
));
fprintf
(
stderr
,
_
(
" -z Quiet mode, don't print anything, use return values
\n
"
));
fprintf
(
stderr
,
_
(
" -z Quiet mode,"
" don't print anything, use return values
\n
"
));
tool_common_usage
();
exit
(
EXIT_FAILURE
);
}
...
...
clients/tools/ldapmodify.c
View file @
bbfaf8c6
...
...
@@ -94,7 +94,8 @@ usage( void )
fprintf
(
stderr
,
_
(
" The list of desired operations are read from stdin or from the file
\n
"
));
fprintf
(
stderr
,
_
(
" specified by
\"
-f file
\"
.
\n
"
));
fprintf
(
stderr
,
_
(
"Add or modify options:
\n
"
));
fprintf
(
stderr
,
_
(
" -a add values (default%s)
\n
"
),
(
ldapadd
?
""
:
_
(
" is to replace"
)));
fprintf
(
stderr
,
_
(
" -a add values (%s)
\n
"
),
(
ldapadd
?
_
(
"default"
)
:
_
(
"default is to replace"
)));
fprintf
(
stderr
,
_
(
" -F force all changes records to be used
\n
"
));
fprintf
(
stderr
,
_
(
" -S file write skipped modifications to `file'
\n
"
));
tool_common_usage
();
...
...
@@ -827,9 +828,10 @@ domodify(
if
(
verbose
)
{
for
(
i
=
0
;
pmods
[
i
]
!=
NULL
;
++
i
)
{
op
=
pmods
[
i
]
->
mod_op
&
~
LDAP_MOD_BVALUES
;
printf
(
"%s %s:
\n
"
,
op
==
LDAP_MOD_REPLACE
?
_
(
"replace"
)
:
op
==
LDAP_MOD_ADD
?
_
(
"add"
)
:
_
(
"delete"
),
pmods
[
i
]
->
mod_type
);
printf
(
"%s %s:
\n
"
,
op
==
LDAP_MOD_REPLACE
?
_
(
"replace"
)
:
op
==
LDAP_MOD_ADD
?
_
(
"add"
)
:
_
(
"delete"
),
pmods
[
i
]
->
mod_type
);
if
(
pmods
[
i
]
->
mod_bvalues
!=
NULL
)
{
for
(
j
=
0
;
pmods
[
i
]
->
mod_bvalues
[
j
]
!=
NULL
;
++
j
)
{
bvp
=
pmods
[
i
]
->
mod_bvalues
[
j
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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