Expose version in command line and footer.
This commit is contained in:
parent
c9f024b205
commit
ce44b1f18f
@ -38,6 +38,7 @@ fn main() {
|
||||
dotenv().ok();
|
||||
env_logger::init().unwrap();
|
||||
let args = App::new("rphotoadm")
|
||||
.version(env!("CARGO_PKG_VERSION"))
|
||||
.about("Command line interface for rphotos")
|
||||
.subcommand(SubCommand::with_name("findphotos")
|
||||
.about("Find new photos in the photo directory")
|
||||
|
@ -20,8 +20,8 @@
|
||||
</main>
|
||||
<footer>
|
||||
<p>Managed by
|
||||
<a href="https://github.com/kaj/rphotos">rphotos, which is
|
||||
open source</a>.</p>
|
||||
<a href="https://github.com/kaj/rphotos">rphotos
|
||||
@env!("CARGO_PKG_VERSION"), which is open source</a>.</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user