@@ -8,8 +8,6 @@ public class ParsedArgs
88 public bool IsTestRun { get ; init ; }
99
1010 public bool Watch { get ; init ; }
11-
12- public bool InitialSync { get ; init ; }
1311
1412 public string ? ConfigFilePath { get ; init ; }
1513
@@ -41,8 +39,6 @@ public static ParsedArgs Parse(string[] args)
4139 {
4240 Option isTestRunOption = new Option ( "t" , "test-run" , "Do a test run that doesn't change anything" , false , 0 , 0 ) ;
4341 Option watchOption = new Option ( "w" , "watch" , "Watch for changes in file system" , false , 0 , 0 ) ;
44- Option initialSyncOption = Option . GetLongOnly ( "inital-sync" ,
45- "Does complete sync before starting file system water (only works with --watch)" , false , 0 , 0 ) ;
4642 Option configFilePathOption =
4743 new Option ( "c" , "config-file" , "Uses the config from file at given path" , false , 1 , 1 ) ;
4844
@@ -61,7 +57,7 @@ public static ParsedArgs Parse(string[] args)
6157 Option stateFilePathOption = new Option ( "state" , "state-file" ,
6258 "File to save synced state in and only needed for two way mode" , false , 1 , 1 ) ;
6359
64- Options options = new Options ( isTestRunOption , watchOption , initialSyncOption , configFilePathOption ,
60+ Options options = new Options ( isTestRunOption , watchOption , configFilePathOption ,
6561 serverUrlOption , serverUsernameOption , serverPasswordOption , withSubfoldersOption , localFolderPathOption ,
6662 serverFolderPathOption , modeOption , compareTypeOption , conflictHandlingOption , allowListOption ,
6763 denyListsOption , stateFilePathOption ) ;
@@ -74,7 +70,6 @@ public static ParsedArgs Parse(string[] args)
7470 {
7571 IsTestRun = result . HasValidOptionParseds ( isTestRunOption ) ,
7672 Watch = result . HasValidOptionParseds ( watchOption ) ,
77- InitialSync = result . HasValidOptionParseds ( initialSyncOption ) ,
7873 ConfigFilePath = result . TryGetFirstValidOptionParseds ( configFilePathOption , out parsed )
7974 ? parsed . Values [ 0 ]
8075 : null ,
0 commit comments