projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Basic template support (#485).
[dcpomatic.git]
/
src
/
tools
/
dcpomatic_cli.cc
diff --git
a/src/tools/dcpomatic_cli.cc
b/src/tools/dcpomatic_cli.cc
index bd1a4e4aa60b8aceed165f708e631984d0de699c..00087d6a0c9425a2a0e9db46b757c6e7215dbbda 100644
(file)
--- a/
src/tools/dcpomatic_cli.cc
+++ b/
src/tools/dcpomatic_cli.cc
@@
-173,7
+173,7
@@
show_servers ()
int
main (int argc, char* argv[])
{
int
main (int argc, char* argv[])
{
-
string
film_dir;
+
boost::filesystem::path
film_dir;
bool progress = true;
bool no_remote = false;
optional<int> threads;
bool progress = true;
bool no_remote = false;
optional<int> threads;
@@
-278,7
+278,7
@@
main (int argc, char* argv[])
film.reset (new Film (film_dir));
film->read_metadata ();
} catch (std::exception& e) {
film.reset (new Film (film_dir));
film->read_metadata ();
} catch (std::exception& e) {
- cerr << argv[0] << ": error reading film `" << film_dir << "' (" << e.what() << ")\n";
+ cerr << argv[0] << ": error reading film `" << film_dir
.string()
<< "' (" << e.what() << ")\n";
exit (EXIT_FAILURE);
}
exit (EXIT_FAILURE);
}