diff --git a/application/source/commandline.go b/application/source/commandline.go index 35b5366ca91d3cd78ba519913355d5d4b6ef9288..2bd618ccf2dd38b88d8f6171622fa4dab33856a5 100644 --- a/application/source/commandline.go +++ b/application/source/commandline.go @@ -28,6 +28,11 @@ func executeCommand() { config.Path = arguments.Path } + arguments.Path, err = filepath.Abs(arguments.Path) + if err != nil { + printErrorAndExit(2, "Unknown Error", err.Error()) + } + if arguments.DateFormat != "" { config.Locale.DateFormat = arguments.DateFormat } diff --git a/release.json b/release.json index 4e387676f2402ba793d1106a3a3a0e09854a1893..331eef031600de7d9903fec3d722b0b053628818 100644 --- a/release.json +++ b/release.json @@ -1,3 +1,3 @@ { - "version": "1.0.35" + "version": "1.0.36" } \ No newline at end of file