Fossil SCM

Typos and improvements to the help text for "fossil remote".

drh 2020-07-15 18:58 trunk
Commit c8212fd14b74ed6b79c8020109bfeb731f2aadc7eadb1a8aacbd1e4857efda52
1 file changed +9 -11
+9 -11
--- src/sync.c
+++ src/sync.c
@@ -349,57 +349,55 @@
349349
/*
350350
** COMMAND: remote-url
351351
**
352352
** Usage: %fossil remote ?SUBCOMMAND ...?
353353
**
354
-** Use this command to view or modify that set of remote repositories
355
-** used for sync, push, and pull.
354
+** Use this command to view or modify the set of remote repositories
355
+** used as the default target for sync, push, and pull and for autosync.
356356
**
357357
** The default remote is set automatically by a "clone" command or by any
358358
** "sync", "push", or "pull" command that specifies an explicit URL
359359
** and omits the --once flag. The default remote is used by
360360
** auto-syncing and by "sync", "push", and "pull" that omit the server URL.
361361
** Additional remotes can be added using the "add" command or deleted
362
-** using the "delete" command. The name of additional remotes can be
362
+** using the "delete" command. The name of any additional remote can be
363363
** used as an argument to the "sync", "push", and "pull" commands where
364364
** one would normally put a URL argument.
365365
**
366366
** See "fossil help clone" for further information about URL formats.
367367
**
368368
** The official name of this command is "remote-url" but most people
369369
** use the shortened name "remote".
370370
**
371
-** Subcommands:
372
-**
373
-** > %fossil remote
371
+** > fossil remote
374372
**
375373
** With no arguments, this command show the current default remote.
376374
** Or if there is no default, it shows "off". The default remote is
377375
** used by autosync. The default remote is whatever URL was specified
378376
** for the most recent "sync", "push", or "pull" command that omitted
379377
** the --once option.
380378
**
381
-** > %fossil remote add NAME URL
379
+** > fossil remote add NAME URL
382380
**
383381
** Add a new URL to the set of remotes. The new URL is assigned the
384382
** symbolic identifier "NAME". Subsequently, NAME can be used in place
385383
** of the full URL on commands like "push" and "pull".
386384
**
387
-** > %fossil remote delete NAME
385
+** > fossil remote delete NAME
388386
**
389387
** Delete a URL previously added by the "add" subcommand.
390388
**
391
-** > %fossil remote list
389
+** > fossil remote list
392390
**
393391
** Show all remote URLs
394392
**
395
-** > %fossil remote off
393
+** > fossil remote off
396394
**
397395
** Disable the default URL. Use this as a shorthand to prevent
398396
** autosync while in airplane mode, for example.
399397
**
400
-** > %fossil remote URL
398
+** > fossil remote URL
401399
**
402400
** Make URL the new default URL. The prior default URL is replaced.
403401
*/
404402
void remote_url_cmd(void){
405403
char *zUrl, *zArg;
406404
--- src/sync.c
+++ src/sync.c
@@ -349,57 +349,55 @@
349 /*
350 ** COMMAND: remote-url
351 **
352 ** Usage: %fossil remote ?SUBCOMMAND ...?
353 **
354 ** Use this command to view or modify that set of remote repositories
355 ** used for sync, push, and pull.
356 **
357 ** The default remote is set automatically by a "clone" command or by any
358 ** "sync", "push", or "pull" command that specifies an explicit URL
359 ** and omits the --once flag. The default remote is used by
360 ** auto-syncing and by "sync", "push", and "pull" that omit the server URL.
361 ** Additional remotes can be added using the "add" command or deleted
362 ** using the "delete" command. The name of additional remotes can be
363 ** used as an argument to the "sync", "push", and "pull" commands where
364 ** one would normally put a URL argument.
365 **
366 ** See "fossil help clone" for further information about URL formats.
367 **
368 ** The official name of this command is "remote-url" but most people
369 ** use the shortened name "remote".
370 **
371 ** Subcommands:
372 **
373 ** > %fossil remote
374 **
375 ** With no arguments, this command show the current default remote.
376 ** Or if there is no default, it shows "off". The default remote is
377 ** used by autosync. The default remote is whatever URL was specified
378 ** for the most recent "sync", "push", or "pull" command that omitted
379 ** the --once option.
380 **
381 ** > %fossil remote add NAME URL
382 **
383 ** Add a new URL to the set of remotes. The new URL is assigned the
384 ** symbolic identifier "NAME". Subsequently, NAME can be used in place
385 ** of the full URL on commands like "push" and "pull".
386 **
387 ** > %fossil remote delete NAME
388 **
389 ** Delete a URL previously added by the "add" subcommand.
390 **
391 ** > %fossil remote list
392 **
393 ** Show all remote URLs
394 **
395 ** > %fossil remote off
396 **
397 ** Disable the default URL. Use this as a shorthand to prevent
398 ** autosync while in airplane mode, for example.
399 **
400 ** > %fossil remote URL
401 **
402 ** Make URL the new default URL. The prior default URL is replaced.
403 */
404 void remote_url_cmd(void){
405 char *zUrl, *zArg;
406
--- src/sync.c
+++ src/sync.c
@@ -349,57 +349,55 @@
349 /*
350 ** COMMAND: remote-url
351 **
352 ** Usage: %fossil remote ?SUBCOMMAND ...?
353 **
354 ** Use this command to view or modify the set of remote repositories
355 ** used as the default target for sync, push, and pull and for autosync.
356 **
357 ** The default remote is set automatically by a "clone" command or by any
358 ** "sync", "push", or "pull" command that specifies an explicit URL
359 ** and omits the --once flag. The default remote is used by
360 ** auto-syncing and by "sync", "push", and "pull" that omit the server URL.
361 ** Additional remotes can be added using the "add" command or deleted
362 ** using the "delete" command. The name of any additional remote can be
363 ** used as an argument to the "sync", "push", and "pull" commands where
364 ** one would normally put a URL argument.
365 **
366 ** See "fossil help clone" for further information about URL formats.
367 **
368 ** The official name of this command is "remote-url" but most people
369 ** use the shortened name "remote".
370 **
371 ** > fossil remote
 
 
372 **
373 ** With no arguments, this command show the current default remote.
374 ** Or if there is no default, it shows "off". The default remote is
375 ** used by autosync. The default remote is whatever URL was specified
376 ** for the most recent "sync", "push", or "pull" command that omitted
377 ** the --once option.
378 **
379 ** > fossil remote add NAME URL
380 **
381 ** Add a new URL to the set of remotes. The new URL is assigned the
382 ** symbolic identifier "NAME". Subsequently, NAME can be used in place
383 ** of the full URL on commands like "push" and "pull".
384 **
385 ** > fossil remote delete NAME
386 **
387 ** Delete a URL previously added by the "add" subcommand.
388 **
389 ** > fossil remote list
390 **
391 ** Show all remote URLs
392 **
393 ** > fossil remote off
394 **
395 ** Disable the default URL. Use this as a shorthand to prevent
396 ** autosync while in airplane mode, for example.
397 **
398 ** > fossil remote URL
399 **
400 ** Make URL the new default URL. The prior default URL is replaced.
401 */
402 void remote_url_cmd(void){
403 char *zUrl, *zArg;
404

Keyboard Shortcuts

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