Fossil SCM
Typos and improvements to the help text for "fossil remote".
Commit
c8212fd14b74ed6b79c8020109bfeb731f2aadc7eadb1a8aacbd1e4857efda52
Parent
59645b6f458628b…
1 file changed
+9
-11
+9
-11
| --- src/sync.c | ||
| +++ src/sync.c | ||
| @@ -349,57 +349,55 @@ | ||
| 349 | 349 | /* |
| 350 | 350 | ** COMMAND: remote-url |
| 351 | 351 | ** |
| 352 | 352 | ** Usage: %fossil remote ?SUBCOMMAND ...? |
| 353 | 353 | ** |
| 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. | |
| 356 | 356 | ** |
| 357 | 357 | ** The default remote is set automatically by a "clone" command or by any |
| 358 | 358 | ** "sync", "push", or "pull" command that specifies an explicit URL |
| 359 | 359 | ** and omits the --once flag. The default remote is used by |
| 360 | 360 | ** auto-syncing and by "sync", "push", and "pull" that omit the server URL. |
| 361 | 361 | ** 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 | |
| 363 | 363 | ** used as an argument to the "sync", "push", and "pull" commands where |
| 364 | 364 | ** one would normally put a URL argument. |
| 365 | 365 | ** |
| 366 | 366 | ** See "fossil help clone" for further information about URL formats. |
| 367 | 367 | ** |
| 368 | 368 | ** The official name of this command is "remote-url" but most people |
| 369 | 369 | ** use the shortened name "remote". |
| 370 | 370 | ** |
| 371 | -** Subcommands: | |
| 372 | -** | |
| 373 | -** > %fossil remote | |
| 371 | +** > fossil remote | |
| 374 | 372 | ** |
| 375 | 373 | ** With no arguments, this command show the current default remote. |
| 376 | 374 | ** Or if there is no default, it shows "off". The default remote is |
| 377 | 375 | ** used by autosync. The default remote is whatever URL was specified |
| 378 | 376 | ** for the most recent "sync", "push", or "pull" command that omitted |
| 379 | 377 | ** the --once option. |
| 380 | 378 | ** |
| 381 | -** > %fossil remote add NAME URL | |
| 379 | +** > fossil remote add NAME URL | |
| 382 | 380 | ** |
| 383 | 381 | ** Add a new URL to the set of remotes. The new URL is assigned the |
| 384 | 382 | ** symbolic identifier "NAME". Subsequently, NAME can be used in place |
| 385 | 383 | ** of the full URL on commands like "push" and "pull". |
| 386 | 384 | ** |
| 387 | -** > %fossil remote delete NAME | |
| 385 | +** > fossil remote delete NAME | |
| 388 | 386 | ** |
| 389 | 387 | ** Delete a URL previously added by the "add" subcommand. |
| 390 | 388 | ** |
| 391 | -** > %fossil remote list | |
| 389 | +** > fossil remote list | |
| 392 | 390 | ** |
| 393 | 391 | ** Show all remote URLs |
| 394 | 392 | ** |
| 395 | -** > %fossil remote off | |
| 393 | +** > fossil remote off | |
| 396 | 394 | ** |
| 397 | 395 | ** Disable the default URL. Use this as a shorthand to prevent |
| 398 | 396 | ** autosync while in airplane mode, for example. |
| 399 | 397 | ** |
| 400 | -** > %fossil remote URL | |
| 398 | +** > fossil remote URL | |
| 401 | 399 | ** |
| 402 | 400 | ** Make URL the new default URL. The prior default URL is replaced. |
| 403 | 401 | */ |
| 404 | 402 | void remote_url_cmd(void){ |
| 405 | 403 | char *zUrl, *zArg; |
| 406 | 404 |
| --- 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 |