andyjohnson0 / TakeoutExtractor

Extract content files from a Google Takeout archive, rename files with a consistent naming scheme and add missing metadata. Runs on Windows and MacOS.
Other
12 stars 2 forks source link

Trailing command is lost #16

Closed Jamminroot closed 9 months ago

Jamminroot commented 1 year ago

https://github.com/andyjohnson0/TakeoutExtractor/blob/cdd34d41b4303b84dc0b43985cfbf190ae55e566/TakeoutExtractor.Cli/CommandLine.cs#L58C26-L58C26

Trailing command is lost

                if (commands.Contains(arg))
                {
                    currentCommand = arg;
+                   commandToArgs.Add(currentCommand, new List<string>());
                }
andyjohnson0 commented 9 months ago

Fixed in v1.1. Thanks to @Jamminroot for reporting this.