Explorar o código

Bug fix: Never implemented -continueonerror switch was present in keepuptodate help

Source commit: a9432ca95c521e042c2c3ac8a8d6f1e72e499779
Martin Prikryl %!s(int64=8) %!d(string=hai) anos
pai
achega
1ae0b998a7
Modificáronse 3 ficheiros con 3 adicións e 4 borrados
  1. 1 1
      source/core/Script.cpp
  2. 1 1
      source/resource/TextsCore.h
  3. 1 2
      source/resource/TextsCore2.rc

+ 1 - 1
source/core/Script.cpp

@@ -379,7 +379,7 @@ void __fastcall TScript::Init()
   FCommands->Register(L"ascii", 0, SCRIPT_OPTION_HELP7, &AsciiProc, 0, 0, false);
   FCommands->Register(L"binary", 0, SCRIPT_OPTION_HELP7, &BinaryProc, 0, 0, false);
   FCommands->Register(L"synchronize", SCRIPT_SYNCHRONIZE_DESC, SCRIPT_SYNCHRONIZE_HELP7, &SynchronizeProc, 1, 3, true);
-  FCommands->Register(L"keepuptodate", SCRIPT_KEEPUPTODATE_DESC, SCRIPT_KEEPUPTODATE_HELP4, &KeepUpToDateProc, 0, 2, true);
+  FCommands->Register(L"keepuptodate", SCRIPT_KEEPUPTODATE_DESC, SCRIPT_KEEPUPTODATE_HELP5, &KeepUpToDateProc, 0, 2, true);
   // the echo command does not have switches actually, but it must handle dashes in its arguments
   FCommands->Register(L"echo", SCRIPT_ECHO_DESC, SCRIPT_ECHO_HELP, &EchoProc, -1, -1, true);
   FCommands->Register(L"stat", SCRIPT_STAT_DESC, SCRIPT_STAT_HELP, &StatProc, 1, 1, false);

+ 1 - 1
source/resource/TextsCore.h

@@ -26,7 +26,7 @@
 #define SCRIPT_PUT_HELP8        22
 #define SCRIPT_OPTION_HELP7     23
 #define SCRIPT_SYNCHRONIZE_HELP7 24
-#define SCRIPT_KEEPUPTODATE_HELP4 25
+#define SCRIPT_KEEPUPTODATE_HELP5 25
 #define SCRIPT_CALL_HELP2       26
 #define SCRIPT_ECHO_HELP        27
 #define SCRIPT_STAT_HELP        28

+ 1 - 2
source/resource/TextsCore2.rc

@@ -330,7 +330,7 @@ BEGIN
     "examples:\n"
     "  synchronize remote -delete\n"
     "  synchronize both d:\\www /home/martin/public_html\n"
-  SCRIPT_KEEPUPTODATE_HELP4,
+  SCRIPT_KEEPUPTODATE_HELP5,
     "keepuptodate [ <local directory> [ <remote directory> ] ]\n"
     "  Watches for changes in local directory and reflects them on remote one.\n"
     "  When directories are not specified, current working directories are\n"
@@ -338,7 +338,6 @@ BEGIN
     "  Note: Overwrite confirmations are always off for the command.\n"
     "switches:\n"
     "  -delete             Delete obsolete files\n"
-    "  -continueonerror    Continue synchronizing when non-fatal error occurs\n"
     "  -permissions=<mode> Set permissions\n"
     "  -nopermissions      Keep default permissions\n"
     "  -speed=<kbps>       Limit transfer speed\n"