Fossil SCM

Perhaps avoid confusion with other similarly named short options.

amb 2013-07-20 08:48 ssh-shared-account
Commit 9dd4a935e81da0f3009bd8f962dcfd744811d1a0
1 file changed +2 -2
+2 -2
--- src/clone.c
+++ src/clone.c
@@ -95,11 +95,11 @@
9595
** --admin-user|-A USERNAME Make USERNAME the administrator
9696
** --private Also clone private branches
9797
** --ssl-identity=filename Use the SSL identity if requested by the server
9898
** --ssh-fossil|-f /fossil Use this path as remote fossil command
9999
** --ssh-command|-c 'command' Use this SSH command
100
-** --ssh-fossil-user|-u user Fossil user to use for SSH if different.
100
+** --ssh-fossil-user|-l user Fossil user to use for SSH if different.
101101
**
102102
** See also: init
103103
*/
104104
void clone_cmd(void){
105105
char *zPassword;
@@ -196,11 +196,11 @@
196196
}
197197
zSshCmd = find_option("ssh-command","c",1);
198198
if( zSshCmd && zSshCmd[0] ){
199199
g.zSshCmd = mprintf("%s", zSshCmd);
200200
}
201
- zFossilUser = find_option("ssh-fossil-user","u",1);
201
+ zFossilUser = find_option("ssh-fossil-user","l",1);
202202
if( zFossilUser && zFossilUser[0] ){
203203
g.zFossilUser = mprintf("%s", zFossilUser);
204204
}
205205
}
206206
207207
--- src/clone.c
+++ src/clone.c
@@ -95,11 +95,11 @@
95 ** --admin-user|-A USERNAME Make USERNAME the administrator
96 ** --private Also clone private branches
97 ** --ssl-identity=filename Use the SSL identity if requested by the server
98 ** --ssh-fossil|-f /fossil Use this path as remote fossil command
99 ** --ssh-command|-c 'command' Use this SSH command
100 ** --ssh-fossil-user|-u user Fossil user to use for SSH if different.
101 **
102 ** See also: init
103 */
104 void clone_cmd(void){
105 char *zPassword;
@@ -196,11 +196,11 @@
196 }
197 zSshCmd = find_option("ssh-command","c",1);
198 if( zSshCmd && zSshCmd[0] ){
199 g.zSshCmd = mprintf("%s", zSshCmd);
200 }
201 zFossilUser = find_option("ssh-fossil-user","u",1);
202 if( zFossilUser && zFossilUser[0] ){
203 g.zFossilUser = mprintf("%s", zFossilUser);
204 }
205 }
206
207
--- src/clone.c
+++ src/clone.c
@@ -95,11 +95,11 @@
95 ** --admin-user|-A USERNAME Make USERNAME the administrator
96 ** --private Also clone private branches
97 ** --ssl-identity=filename Use the SSL identity if requested by the server
98 ** --ssh-fossil|-f /fossil Use this path as remote fossil command
99 ** --ssh-command|-c 'command' Use this SSH command
100 ** --ssh-fossil-user|-l user Fossil user to use for SSH if different.
101 **
102 ** See also: init
103 */
104 void clone_cmd(void){
105 char *zPassword;
@@ -196,11 +196,11 @@
196 }
197 zSshCmd = find_option("ssh-command","c",1);
198 if( zSshCmd && zSshCmd[0] ){
199 g.zSshCmd = mprintf("%s", zSshCmd);
200 }
201 zFossilUser = find_option("ssh-fossil-user","l",1);
202 if( zFossilUser && zFossilUser[0] ){
203 g.zFossilUser = mprintf("%s", zFossilUser);
204 }
205 }
206
207

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button