KonradIT / mmt

Media Management Tool - make importing videos/photos from GoPro and other action cameras/drones a little bit more bearable.
http://mmt.camera
Apache License 2.0
109 stars 12 forks source link

make GetFlagString() process the default string #127

Closed klaernie closed 2 months ago

klaernie commented 9 months ago

make GetFlagString() process the default value, not Cobra

since the dateFormat / --date has a default set to dd-mm-yyy, the GetFlagString() function does not ever attempt reading the value from the config file.

Now every GetFlagString() invocation explicitly lists the default values, like GetFlagInt() does, hence one can set the date format in the config file.

Type:

Camera:

Component:

Checklist before approval:

KonradIT commented 2 months ago

Hi! Finally time to update mmt again.

Picked up your changes in this PR: https://github.com/KonradIT/mmt/pull/133