OSDN Git Service
(root)
/
tortoisegit
/
TortoiseGitJp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b12aced
)
Add option -p for TortoisePlink.
author
Frank Li
<lznuaa@gmail.com>
Mon, 25 May 2009 07:02:02 +0000
(15:02 +0800)
committer
Frank Li
<lznuaa@gmail.com>
Mon, 25 May 2009 07:02:02 +0000
(15:02 +0800)
-p the same as -P
Signed-off-by: Frank Li <lznuaa@gmail.com>
src/TortoisePlink/CMDLINE.C
patch
|
blob
|
history
diff --git
a/src/TortoisePlink/CMDLINE.C
b/src/TortoisePlink/CMDLINE.C
index
19a25be
..
87b119d
100644
(file)
--- a/
src/TortoisePlink/CMDLINE.C
+++ b/
src/TortoisePlink/CMDLINE.C
@@
-306,7
+306,7
@@
int cmdline_process_param(char *p, char *value, int need_save, Config *cfg)
cfg->remote_cmd_ptr2 = NULL;
\r
cfg->nopty = TRUE; /* command => no terminal */
\r
}
\r
- if (
!strcmp(p, "-P"
)) {
\r
+ if (
(!strcmp(p, "-P"))||(!strcmp(p, "-p")
)) {
\r
RETURN(2);
\r
UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
\r
SAVEABLE(1); /* lower priority than -ssh,-telnet */
\r