refactor(http)!: get address from lua
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use crate::build_info;
|
||||
use clap::Parser;
|
||||
use std::{net::SocketAddr, path::PathBuf};
|
||||
use std::path::PathBuf;
|
||||
|
||||
/// A Minecraft utility bot
|
||||
#[derive(Parser)]
|
||||
@@ -9,8 +9,4 @@ pub struct Arguments {
|
||||
/// Path to main Lua file
|
||||
#[arg(short, long)]
|
||||
pub script: Option<PathBuf>,
|
||||
|
||||
/// Socket address to bind HTTP server to
|
||||
#[arg(short = 'a', long)]
|
||||
pub http_address: Option<SocketAddr>,
|
||||
}
|
||||
|
Reference in New Issue
Block a user