Skip to content

Commit

Permalink
CLI: Change type of import --dest flag to string #3473
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Mayer <michael@photoprism.app>
  • Loading branch information
lastzero committed Jun 13, 2023
1 parent 53aeaff commit a7cc1e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/commands/copy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down

0 comments on commit a7cc1e3

Please sign in to comment.