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