From a7cc1e367fcc7b8aaf1a89d03ed2d40f37c5c9af Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Tue, 13 Jun 2023 19:00:34 +0200 Subject: [PATCH] CLI: Change type of import --dest flag to string #3473 Signed-off-by: Michael Mayer --- internal/commands/copy.go | 2 +- internal/commands/import.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/commands/copy.go b/internal/commands/copy.go index b7089226a..be741cfe7 100644 --- a/internal/commands/copy.go +++ b/internal/commands/copy.go @@ -22,7 +22,7 @@ var CopyCommand = cli.Command{ Usage: "Copies media files to originals", ArgsUsage: "[source]", Flags: []cli.Flag{ - cli.BoolFlag{ + cli.StringFlag{ Name: "dest, d", Usage: "relative originals `PATH` to which the files should be imported", }, diff --git a/internal/commands/import.go b/internal/commands/import.go index 069f754fc..1a60c2de5 100644 --- a/internal/commands/import.go +++ b/internal/commands/import.go @@ -22,7 +22,7 @@ var ImportCommand = cli.Command{ Usage: "Moves media files to originals", ArgsUsage: "[source]", Flags: []cli.Flag{ - cli.BoolFlag{ + cli.StringFlag{ Name: "dest, d", Usage: "relative originals `PATH` to which the files should be imported", },