- Commit
- d671c683995e41b31bd16820a44e88ef548779a4
- Parent
- 743086c073d2b533a65c5b4d785fe2966256f373
- Author
- Pablo <pablo-escobar@riseup.net>
- Date
Moved a print statement
Yet another static page generator for photo galleries
Moved a print statement
1 file changed, 4 insertions, 3 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/main.rs | 7 | 4 | 3 |
diff --git a/src/main.rs b/src/main.rs @@ -123,6 +123,10 @@ macro_rules! usage_config { } fn main() -> ExitCode { + logln!("Running {package} version {version}", + package = env!("CARGO_PKG_NAME"), + version = env!("CARGO_PKG_VERSION")); + let args: Vec<String> = env::args().collect(); let (program, config) = match &args[..] { @@ -164,9 +168,6 @@ fn main() -> ExitCode { /// Coordinates the rendering of all the pages and file conversions fn render_gallery(pics: Vec<Picture>) -> ExitCode { - logln!("Running {package} version {version}", - package = env!("CARGO_PKG_NAME"), - version = env!("CARGO_PKG_VERSION")); log!("Copying image files to the target directory..."); for pic in &pics {